<?
$mid = $POST['mid'];
$img = $POST['imagekey'];
$songname = $POST['songname'];
$bandname = $POST['bandname'];
$image_result = mysql_query("SELECT songname,bandname FROM images WHERE image_id = '$img'", $db);
$image = mysql_fetch_object($image_result);
$sql = "UPDATE images SET songname = $songname WHERE image_id = '$img' AND mid = '$mid'";
$result = mysql_query($sql);
$sql = "UPDATE images SET bandname = $bandname WHERE image_id = '$img' AND mid = '$mid'";
$result = mysql_query($sql);
?>
for some reason, this does not update anything....... As you can see, i am not that good in MySql at all.....but i try!!!