ich werd aus der fehlermeldung nicht schlau und google spuckt auch nix brauchbares aus
Warning: mysqli_stmt_execute() [function.mysqli-stmt-execute]: invalid object or resource mysqli_stmt in G:\xampp\htdocs\pdir\upload.php on line 129
PHP-Code:
$dbObj = new mysqli($db_host, $db_user, $db_password,$db_name);
if (mysqli_connect_errno()) {
die("Could not connect: ".mysqli_connect_error());
}
$stmt = mysqli_stmt_init($dbObj);
$dbInsEintr = ("INSERT INTO eintrag (firma , plz, strasse, nr, email, telefon, text) VALUES (?, ?, ?, ?, ?, ?, ?)");
if (mysqli_stmt_prepare($stmt, $dbInsEintr)) {
mysqli_stmt_bind_param($stmt, 'sisssss', $firma, $plz, $strasse, $nr, $email, $telefon, $werbetext);
}
mysqli_stmt_execute($stmt);
Warning: mysqli_stmt_execute() [function.mysqli-stmt-execute]: invalid object or resource mysqli_stmt in G:\xampp\htdocs\pdir\upload.php on line 129
Kommentar