Question: This code is for inserting booking information in tabel book. This cod is not giving any errors, but it show that the information is added

This code is for inserting booking information in tabel book.
This cod is not giving any errors, but it show that the information is added in the table while is not !!!
Can someone find the problem?
 This code is for inserting booking information in tabel book. This

1 'SoutDate') or ('sinDate' 'SoutDate'))* 13 14 $result mysqli_query(Scon, $query); 15 $row mysqli fetch assoc($result); 16 if(Srow) 17 echo-cfont colora#d30909 size5>

This Space s Already Reserved. Please select a different Space Or You selected Check Out Date is Before Check in Date

" 18 Jelse 19 20 21 Squerys-"INSERT INTO book VALUES (null,'$roonllame','$cookie-value','$nDate','SoutDate','SREQUR")"; $results = mysqli-query($con, Squerys); echo ""; header("Location: Index.php") 23 24 Jelse 25 26 27 else 28 29 echo "ccenter please sign in first" echo "xcentery Error

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!