Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Lee Laing
Added: Apr 5, 2018 6:09 AM
Modified: Apr 5, 2018 10:57 AM
Views: 16
Tags: no tags
  1. echo date("l, F jS, Y @ h:i:s A") . "<br>";
  2.  
  3. if ($conn->query($sql) === TRUE) {
  4.     echo "Table MyGuests created successfully";
  5. } else {
  6.     echo "Error creating table: " . $conn->error;
  7. }