RE: [PHP] Dealing with Query String

2002-04-09 Thread Maxim Maletsky
0, 2002 4:09 AM > To: Maxim Maletsky > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Dealing with Query String > > Privit Maxim, > > I understand your approach... i.e. I can hardcode it in the links, but > what if I will add more variables in a query string... note in the query &

RE: [PHP] Dealing with Query String

2002-04-09 Thread Vladislav Kulchitski
as you can see on the top of the template.. I am using explode() -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 10:04 PM To: Vladislav Kulchitski; [EMAIL PROTECTED] Subject: RE: [PHP] Dealing with Query String In your PHP: On every

RE: [PHP] Dealing with Query String

2002-04-09 Thread Maxim Maletsky
In your PHP: On every click collect two variables: $by and $order then, call for this query: Select field from table where this=that order by $by $order; Make sure both variables have their default values in case there was nothing selected. You don't really need a function for this, just