[PHP] Display criteria

2002-07-10 Thread DC
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Display criteria

2002-07-10 Thread Martin Clifford
You're gonna have to give me quite a bit more to go on than that. What are you using to store the data? An array, flatfile, database, etc? Also, we're not really all about telling you what code you need, as much as helping you to find the answer (without GIVING the answer), you know? At

Re: [PHP] Display criteria

2002-07-10 Thread Chris Hewitt
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