RE: [PHP] diplaying rows in numerical order with mysql
| From: | Ralph Guzman | Date: | Tue, 16 Oct 2001 00:50:03 +0000 |
| Subject: | RE: [PHP] diplaying rows in numerical order with mysql | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71157@lists.php.net to get a copy of this message | ||
Do something like:
SELECT * FROM table_name ORDER BY 'number_field';
-----Original Message-----
From: brett [mailto:brett@jnewman.com]
Sent: Monday, October 15, 2001 3:23 PM
To: php-general@lists.php.net
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@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net