Shouldn't it be:
mysql_query(UPDATE user_polls SET url = '$file_name' WHERE uid = '$UserName' AND type
= '$type) or die (mysql_error());
Maybe I'm wrong.
--
Tyler Longren
[EMAIL PROTECTED]
Currently Unemployed
www.noworkfortyler.com
On Tue, 22 May 2001 17:00:35 EDT
[EMAIL PROTECTED] wrote:
, May 22, 2001 2:04 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql error, dont see why.. please help
Shouldn't it be:
mysql_query(UPDATE user_polls SET url = '$file_name' WHERE uid =
'$UserName' AND type = '$type) or die (mysql_error());
Maybe I'm wrong.
--
Tyler Longren
Looks like this may be in wrong order:
url = '$file_name')
^
I think you have ' when it should be '
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
3 matches
Mail list logo