PHP Classes

Error with parameters

Recommend this page to a friend!

      PHP MySQL to MySQLi  >  All threads  >  Error with parameters  >  (Un) Subscribe thread alerts  
Subject:Error with parameters
Summary:Wront params passed
Messages:1
Author:Ferenc Vasoczki (vaso123)
Date:2017-12-13 16:34:10
 

  1. Error with parameters   Reply   Report abuse  
Picture of Ferenc Vasoczki (vaso123) Ferenc Vasoczki (vaso123) - 2017-12-13 16:34:10
There are several errors in your code:

Eg.:

function mysql_fetch_object($result, $class_name = null, $params = null) {

return mysql2i::mysql_fetch_object($result, $class_name, $params);
}

Cool, but it will fail, because the real mysqli_fetch_object need param 3 as an array, and you pass null.

I started to fix it, but after 3 like this I deleted your files.

Please fix these.