CreationsGuidesTutorialsTravelLogin
Checking Errors
Check the query. $ con value is your mysqli connection you use variable.
1
2
3
if (!mysqli_query($con,"INSERT INTO Persons (FirstName) VALUES (Glenn)"))
  {
  echo("Error description: " . mysqli_error($con));
  }