Hi all,
I've created a page to look up a certain record and modify it. It all seems to work, no error messages are given, everything goes smoothly. Except for one thing: the mysql table is not actually updated! I'm probably forgetting something but I can't figure out what. Here's a snippet of the code:
$query2 = "UPDATE fotos SET foto_id='$foto_id', foto ='$foto', thumb ='$thumb', bijschrift ='$bijschrift', categorie ='$categorie', trefwoorden ='$trefwoord', datum ='$datum' WHERE foto_id = '$foto_id'";
$result = mysql_query($query2) or die(mysql_error());
echo mysql_errno().": ".mysql_error()."<BR>";
echo "Het record is gewijzigd!";
Any help is very much appreciated!
Thanks in advance
Dionyssos