Date: 10/15/01
- Next message: Christian Dechery: "RE: [PHP] can I rely on $PHP_SELF ???"
- Previous message: Tom Beidler: "Re: [PHP] run through array with list only once?"
- In reply to: brett: "[PHP] diplaying rows in numerical order with mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Do something like:
SELECT * FROM table_name ORDER BY 'number_field';
-----Original Message-----
From: brett [mailto:brett <email protected>]
Sent: Monday, October 15, 2001 3:23 PM
To: php-general <email protected>
Subject: [PHP] diplaying rows in numerical order with mysql
I have a table for which I want to display rows from my database. The rows
should be ordered 1,2,3...etc. Instead the order by clause displays
1,10,11,12,13,14,2,3,4...etc.
Is their a way to display this in the normal human order?
Brett
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Christian Dechery: "RE: [PHP] can I rely on $PHP_SELF ???"
- Previous message: Tom Beidler: "Re: [PHP] run through array with list only once?"
- In reply to: brett: "[PHP] diplaying rows in numerical order with mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

