-
Whats wrong :S?
Ok, ive made this thing, but the update script doesnt seem to work.. it says its updated, but it hasnt..
PHP Code:
$habbo = htmlspecialchars($_POST[habbo]);
$furni = htmlspecialchars($_POST[furni]);
$amount = htmlspecialchars($_POST[amount]);
$comment = htmlspecialchars($_POST[comment]);
$password = htmlspecialchars($_POST[password]);
$edit = mysql_query("UPDATE trade SET habbo='$habbo', furni='$furni', amount='$amount', comment='$comment', password='$password' WHERE id = '$id'");
echo("Item Updated!");
Please post any suggestions :)
-
-
change
Code:
$edit = mysql_query("UPDATE trade SET habbo='$habbo', furni='$furni', amount='$amount', comment='$comment', password='$password' WHERE id = '$id'");
too
Code:
$edit = mysql_query("UPDATE trade SET habbo='$habbo', furni='$furni', amount='$amount', comment='$comment', password='$password' WHERE id = '$id'")or die("MySQL Error: <br>".mysql_error());
and post the error message