I keep getting this error:
You have an error in your SQL syntax near '' at line 1
and for some reason it still excuetes it and does what it is ment to do. This is the query as I am using it. Yet I still yeild the same error. Any thoughts?
$query = "UPDATE artist SET artistname = '$firstname', artistbio = '$biography', artistlastname = '$lastname' WHERE ID = '$art_id'";
mysql_query($query) or die(mysql_error());
thanks in advance