mysql error, dont see why.. please help
| From: | PeterOblivion at aol dot com | Date: | Tue, 22 May 2001 21:00:35 +0000 |
| Subject: | mysql error, dont see why.. please help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-53929@lists.php.net to get a copy of this message | ||
Here is the command.
mysql_query("UPDATE user_polls WHERE uid = '$UserName' AND type = '$type'
SET
url = '$file_name'") or die(mysql_error());
Output
You have an error in your SQL syntax near 'WHERE uid = 'Oblivion' AND type =
'music' SET url = 'test'' at line 1
This is SOOO weird.
PLEASE HELP
- Peter