zinsou A.A.E.Moïse - 2017-11-05 06:59:26
Very usefull package.Anyway i got some fatal error so i write what users can do to avoid this very little issue.
first open the file mysql2i.class.php and just change the mysql_fetch_object code by
public static function mysql_fetch_object($result,$class_name=stdClass,$params=array()){
if($class_name!="stdClass"){
return mysqli_fetch_object($result,$class_name,$params);
}else{
return mysqli_fetch_object($result);
}
}
then open the mysql2i.func.php and change the mysql_fetch_object code by:
function mysql_fetch_object($result,$class_name="stdClass",$params=array()){
return mysql2i::mysql_fetch_object($result,$class_name,$params);
}
Without this change i got a beautiful fatal error that was telling me that argument params must be an array null given and when i made the change then i receive another fatal error class "" doesn't exist.This issue come when you call mysql_fecth_object function with just one argument.