PHP Classes

Bind Error

Recommend this page to a friend!

      Reduced MySQLi  >  All threads  >  Bind Error  >  (Un) Subscribe thread alerts  
Subject:Bind Error
Summary:Doesn't display the error
Author:Fabrizio Giamporcaro
Date:2015-12-22 18:31:29


  1. Bind Error   Reply   Report abuse  
Picture of Fabrizio Giamporcaro Fabrizio Giamporcaro - 2015-12-22 18:31:29
Hy, first of all ty for your submission.

the code that I'm using for binding is this:
if (isset($arg_array[0])) {
array_unshift($arg_array, $types);

for ($i = 1; $i < count($arg_array); $i++)
$arg_array[$i] = &$arg_array[$i];

$bind = @call_user_func_array(array
'bind_param'), $arg_array);

During the execution if there's a bind error the message display only a void string

if I try to use var_dump($this->db->error) the ourput is string(0)""

any suggestion?