Row order
| From: | Stefan Doverud | Date: | Wed, 11 Jul 2001 11:09:46 +0000 |
| Subject: | Row order | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-10275@lists.php.net to get a copy of this message | ||
Hello!
I have this little problem sorting a search result by different fieldnames.
I do my search, get a quite impressive amount of variables that I use in my MySQL-query, and by default use "ORDER BY name".
But I want to be able to klick on different headers to sort like "ORDER BY $order".
The problem that I encounter is that I lose all the variables from the search when I refresh the document. Is it possible to resend all variables without inserting them in the <A>-tag ?
(like <A href=find.php?var1=$var1..........>)
Hopefully someone has a smart solution.. =)
regards
- Stefan