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 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]