Answers for "php pdo insert data to sql"

PHP
0

php pdo insert data to sql

  $sql = "INSERT INTO MyGuests (firstname, lastname, email)
  VALUES ('John', 'Doe', '[email protected]')";
  // use exec() because no results are returned
  $conn->exec($sql);
Posted by: Guest on October-28-2021

Browse Popular Code Answers by Language