MrCraig
09-08-2007, 02:32 PM
Ok, ive made this thing, but the update script doesnt seem to work.. it says its updated, but it hasnt..
$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 :)
$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 :)