From a html file I have something like this:
<a href="showtable.php?table=clients&col=lastname"><b >Mysql
Table</b></a>
This is a general mysql table viewer for a database.
showtable.php displays the table in a browser fine. It uses the
'clients' table and sorts it by 'lastname' passed in on the command
line. The sorting is done by "order by". So far, so good.
Now I'd like to have some buttons at the top of each column to cause
the table to redisplay sorted by the column that the user clicks on.
Is this possible?
Basically I need to re-call showtable.php with different valuse for
the col parameter.
Does anyone know how I can allow the user to interactives sort columns
this way? Like a window listview control.
thanks,
Roger