Forum Moderators: coopster
I am kinda having problem with sort by. I have a database, for example called test and table called test, in the table I have the following rows:
id
fname
lname
I want a drop-down menu on my site with options to Sort by: (in the select menu options)id,fname,lname
Please help!
Thanks in advance!
$query = "select * from test sort by ".$_POST['sort'];