whoisquilty wrote" "On 3/20/2008 10:10 PM":"
>  > <snip>
>  >
>  > $query = "UPDATE discset
>  > SET disc_title = '$disc_title',
>  > studio = '$studio',
>  > country = '$country',
>  > region = '$region',
>  > release = '$release',
>  > nodiscs = $nodiscs,
>  > upc = '$upc',
>  > daterevised = '$updated'
>  > WHERE discsetid = $var";
>  > $result = mysql_query($query) or die(mysql_error());
> You have an error in your SQL syntax; check the manual that corresponds 
> to your MySQL
> server version for the right syntax to use near 'release = '2008-03-16', 
> nodiscs = 2, upc
> = '0908877661234', daterevi' at line 6
> 

Change the "or die()" to this below and rerun and send us the output.
or die("$query\n".mysql_error());

bp

Reply via email to