----- Original Message ----- 
From: "Karl-Heinz Schulz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 03, 2004 10:19 PM
Subject: [PHP] Order by


> $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



start the quotes again...

$specs_query = mysql_query("select title, information from spec where
product=".$id." order by id asc");


Thanks,
Jake McHenry

MIS Coordinator
Nittany Travel
http://www.nittanytravel.com
570.748.6611 x108

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to