PHP Classes

Doesn't work on php 5.

Recommend this page to a friend!

      Reduced MySQLi  >  All threads  >  Doesn't work on php 5.  >  (Un) Subscribe thread alerts  
Subject:Doesn't work on php 5.
Summary:Package rating comment
Messages:2
Author:valentin
Date:2013-04-21 10:46:51
Update:2013-10-31 12:51:23
 

valentin rated this package as follows:

Utility: Insufficient
Consistency: Sufficient
Examples: Insufficient

  1. Doesn't work on php 5.   Reply   Report abuse  
Picture of valentin valentin - 2013-04-21 10:46:51
Doesn't work on php 5.4
Doesn't print the error associated with "Binding error".
Sometimes, on UPDATE query, it enters zeo(0) instead of empty value in string field.

  2. Re: Doesn't work on php 5.   Reply   Report abuse  
Picture of Iván Gutiérrez Iván Gutiérrez - 2013-10-31 12:51:23 - In reply to message 1 from valentin
Try this after line 107

// binding parameters if has any
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(
$this->stmt,
'bind_param'
), $arg_array);
}