What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-08-27 13:58:01
pdo mysql insert
<?php $pdo = new PDO('mysql:host=localhost;dbname=test', 'username', 'password'); $statement = $pdo->prepare("INSERT INTO users (email, vorname, nachname) VALUES (?, ?, ?)"); $statement->execute(array('[email protected]', 'Klau... Add solution