Guest.php / If the submission button is selected, execute the IF ($ Submit) {// Connect the server and select the database dbconnect (); // Insert data into the table $ query = "Insert Into Guests" after the connection is successful $ query. = "(Guest_ID, guest_name, guest_email, guest_time, guest_message"; $ query. = "Values (0000, '$ name', '$ Email', NULL, '$ message')"; $ SQL = MySQL_Query ($ query); echo "Insert INTO DATABASE SUCCESS.";
// Else {?>