MySQL query error
| From: | Niklas Lampén | Date: | Mon, 17 Sep 2001 08:45:31 +0000 |
| Subject: | MySQL query error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67575@lists.php.net to get a copy of this message | ||
Code:
<?
$Query = "UPDATE feRegUsers SET Constructor='2001-09-17',
Enertec='2001-09-17', Seatec='2001-09-17' WHERE ID LIKE '288'";
mysql_quory($Query);
print mysql_error();
?>
That results
"You have an error in your SQL syntax near 'Constructor='2001-09-17',
Enertec='2001-09-17', Seatec='2001-09-17'' at line 1".
What's wrong? I don't see anything that can be wrong! Am I blind once again?
Niklas