Re: Display criteria

From: Date: Wed, 10 Jul 2002 13:33:36 +0000
Subject: Re: Display criteria
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-106791@lists.php.net to get a copy of this message
I don't think you are explaining what you are after too well, so my understanding of it may be wrong. If you are displaying a table and want to display it in a different order, then its the "ORDER BY" clause in the database select statement that determines what order the data is given in. To a more specific question but similar to this I gave an outline of storing results on a temporary basis in another table a couple of days ago. You should be able to find it in the archives. I think it will help if you read some more on programming, particularly the php functions to get data from a database, sql in general, and the manual on the specific database you want to use. HTH Chris DC wrote:
Hi I want to display data based on the criteria selected by the user eg click on size to display smallest to largest, or by price smallest to highest, location etc etc what is the code I need? Thanks. DC


« previous php.general (#106791) next »