note 7666 deleted from mysql_db_query by danbeck
| From: | danbeck@php.net | Date: | Thu, 07 Sep 2000 15:30:00 +0000 |
| Subject: | note 7666 deleted from mysql_db_query by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4368@lists.php.net to get a copy of this message | ||
A note about termination your $sql string variable...
This doesn't work:
$sql = "SELECT *
FROM Whatever";
";
For some reason you need to put that "; on the same line as the last line of the sql statement.
ie.
$sql = "SELECT *
FROM whatever ";";