note 18371 added to function.mysql-query
| From: | fusrrg at hotmail dot com | Date: | Sun, 20 Jan 2002 11:41:05 +0000 |
| Subject: | note 18371 added to function.mysql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25564@lists.php.net to get a copy of this message | ||
I'm trying to use ORDER BY sentence in a sql query to order the result and show it (using
PHP)... like this:
$sql = mysql_query ("SELECT * FROM table_name ORDER BY row_name");
$row = mysql_fetch_array($sql);
so, when i saw the result the ORDER BY doesnt work!, i don't why!.
Please help me to find the answer to order my query
Thanx.
--
http://www.php.net/manual/en/function.mysql-query.php
http://master.php.net/manage/user-notes.php?action=edit+18371
http://master.php.net/manage/user-notes.php?action=delete+18371
http://master.php.net/manage/user-notes.php?action=reject+18371