PDO MySQL Insertar
<?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]', 'Klaus', 'Neumann'));
?>
Worrisome Worm