PHP Classes
elePHPant
Icontem

Very usefull package.

Recommend this page to a friend!

      PHP MySQL to MySQLi  >  All threads  >  Very usefull package.  >  (Un) Subscribe thread alerts  
Subject:Very usefull package.
Summary:Package rating comment
Messages:2
Author:zinsou A.A.E.Mo´se
Date:2017-11-05 06:59:26
 

 

zinsou A.A.E.Mo´se rated this package as follows:

Utility: Good
Consistency: Good
Documentation: Sufficient
Examples: Good

  1. Very usefull package.   Reply   Report abuse  
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.

  2. Re: Very usefull package.   Reply   Report abuse  
cathy sirap - 2019-08-30 13:05:38 - In reply to message 1 from zinsou A.A.E.Mo´se
hello sir
thaxa for the information to change the files

my question is where do i put thefiles?
my software script has many folder and files
do i just put the files inside the root folser of my program software script of folders?


thxz if you know the answer
cuz the read me file is not clear instrcutions

lisa