zcollvee wrote: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 ' artist = 'Baha Men' and name = ''' at line 1
That means you have to fill out all the fielsds i guess? no:
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 ' artist = 'Black Eyed Peas' and name = 'Pump It'' at line 1
yeah, I think you are right ( tenker du har rett, riktigt )
you know what,
sometimes things can show pretty good if you this ( just for DEBUG )
we ECHO the query .. to see what it is like!!!!
$query = "SELECT name,artist,album,art FROM music WHERE album = '".$album."', artist = '".$artist."' and name = '".$name."'";
echo $query; // just DEBUGGING
echo '<br /><br />'; //put in a break
$result = mysql_query($query);