RE: Row order
| From: | Mikusch, Rita | Date: | Wed, 11 Jul 2001 15:28:27 +0000 |
| Subject: | RE: Row order | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-10291@lists.php.net to get a copy of this message | ||
Good Morning,
You could create a form and save your variables as "hidden" elements of your
form. I've never tried it without having an actual visible form on the page
with a submit button and everything, but it should work.
The only other ways I can think of are pretty long winded...cookies,
database entries, file entries...
Good Luck,
Rita.
-----Original Message-----
From: Stefan Doverud [mailto:stefan@microform.se]
Sent: Wednesday, July 11, 2001 4:10 AM
To: php-db@lists.php.net
Subject: Row order
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