note 18371 rejected from function.mysql-query by imajes
| From: | imajes@php.net | Date: | Sun, 20 Jan 2002 11:58:01 +0000 |
| Subject: | note 18371 rejected from function.mysql-query by imajes | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25567@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.