Mahlzeit!
jetzt habe ich hin und her probiert, aber ich bekomme mit
$dbc = new mysqli("mysqli:host=$host_name;dbname=$db_name", $user, $password); (1)
...
$stmt = $dbc->prepare($sql_eintrag); (2)
...
$stmt->bindParam(':id', $id);(3)
nur
Warning: mysqli::mysqli() [function.mysqli-mysqli]: (HY000/2005): Unknown MySQL server host 'mysqli:host=... (1)
Anm.: phpinfo() sagt, mysqli ist enabled
Warning: mysqli::prepare() [function.mysqli-prepare]: Couldn't fetch mysqli (2)in...
Fatal error: Call to a member function bindParam() on a non-object in ... (3)
Was mache ich bloß falsch? :-)