Order by
| From: | Karl-Heinz Schulz | Date: | Wed, 04 Aug 2004 02:19:37 +0000 |
| Subject: | Order by | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-192654@lists.php.net to get a copy of this message | ||
How can I use the "Order" statement for this query?
$specs_query = mysql_query("select title, information from spec where
product=".$id);
I tried to use
$specs_query = mysql_query("select title, information from spec where
product=".$id order by id asc);
But it will create the error.
Parse error: parse error, unexpected T_STRING in /www/docs/view_product.php
on line 144
What am I doing wrong?
TIA
Karl-Heinz
Tracking #: 28B73BEA7EBF0B4D89E64E5EA406BF5EC2EA6912