Re: [PHP] mysqli_stmt::bind_param(), Number of variables doesn't match number of parameters in prepared statement

2006-07-01 Thread gg15
in performance ... but I think not even this is given with the new extension. Sorry, but I have not seen much of the "improved" in the functions (beside OOP ^^). Best Regards, Ulrich chris smith schrieb: On 7/1/06, gg15 <[EMAIL PROTECTED]> wrote: I wanted to use the prepar

[PHP] mysqli_stmt::bind_param(), Number of variables doesn't match number of parameters in prepared statement

2006-06-30 Thread gg15
I wanted to use the prepared statements of mysqli, but the following problem occured: If I just use one parameter everything works fine $prep = $this->mysqli->prepare('INSERT INTO guestbook (Von, Datum) VALUES (?, NOW())'); $prep->bind_param('s', $this->Von); but if I try to use two $prep = $