Re: Parse Error(newbie)
| From: | 1LT John W. Holmes | Date: | Wed, 29 May 2002 13:06:53 +0000 |
| Subject: | Re: Parse Error(newbie) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99698@lists.php.net to get a copy of this message | ||
Look for errors in the line above this one. PHP doesn't know what SQL is...it's just a
string to PHP.
---John Holmes...
----- Original Message -----
From: webmaster@tececo.com
To: php-general@lists.php.net
Sent: Wednesday, May 29, 2002 9:03 AM
Subject: [PHP] Parse Error(newbie)
I get a parse error on this line
$query = "SELECT * FROM news ORDER BY id DESC LIMIT 1";
I believe that it is an error in the SQL statement
Thanks in advance
JJ Harrison
webmaster@tececo.com
www.tececo.com
------------------------------------------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php