Right, I have an edit for which passes the data on to a php script. The script organises the data and then should update the info in the db but it isn't.
I have checked and all the data passed is ok but it doesn't update the db.
$query = "update cars set reg ='$reg' set make='$make', model='$model', section='$section', description='$description', photo1='$photo1', photo2='$photo2',
caption1='$caption1', photo3='$photo3', photo4='$photo4', caption2='$caption2', photo5='$photo5', photo6='$photo6', caption3='$caption3', photo7='$photo7', photo8='$photo8', caption4='$caption4', photo9='$photo9', photo10='$photo10', caption5='$caption5', photo11='$photo11', photo12='$photo12', caption6='$caption6' where reg ='$reg'";
mysql_query($query);
Any ideas?