Code: Select all
print $sql;Code: Select all
INSERT INTO "lunch" ("id", "title", "name", "text") VALUES ("","fourth test","Jason","this is the fourth test testing from an html form.");Moderator: General Moderators
Code: Select all
print $sql;Code: Select all
INSERT INTO "lunch" ("id", "title", "name", "text") VALUES ("","fourth test","Jason","this is the fourth test testing from an html form.");Code: Select all
$result = mysql_query("INSERT INTO "lunch" ("id", "title", "name", "text") VALUES ("","fourth test","Jason","this is the fourth test testing from an html form.");");
if (!$result) {$_SESSION['error'] = mysql_error(); header("location:this_file_name.php?step=2&error");}
else {echo 'check your DB in PhpMyAdmin, the query appears to have executed just fine.';}