Code:
<?php
$mysqli = new mysqli("server", "username", "password", "database_name");
// TODO - Check that connection was successful.
$stmt = $mysqli->prepare("insert into person ( name, vorname) values ( :name, :vorname);");
// TODO check that $stmt creation succeeded
// s means the database expects a string
$stmt->bind_param("s", ???);
$stmt->execute();
$stmt->close();
$mysqli->close();
?>
Was müsste jetzt bei den Fragezeichen stehen?