The PHP docs show:
$stmt = $mysqli->prepare("INSERT INTO CountryLanguage VALUES
(?, ?, ?, ?)");
$stmt->bind_param('sssd', $code, $language, $official, $percent);
for usage. Your $prep->bind_param() doesn't seem to include the
definitions. 'sssd' in the above example, string, string, string
Hi,
I am still having poblems with the php5 functions. I have 4 variables in
each. What is the problem?
Warning: mysqli_stmt::bind_param() [function.mysqli-stmt-bind-param]: Number
of elements in type definition string doesn't match number of bind variables
in on line 21
$prep = $mysqli
2 matches
Mail list logo