I developed the sample in the latest PHP 5.3 and later realized that justhost does not support mysqlnd and PHP 5.3, so I need to change the method of the db class that uses mysqli->fetch_all().
mysqli->fetch_all()
Does anyone know how to keep this effort? Maybe another way to use a plugin or middle layer or something else that I can switch or check if mysqlnd supports on the server or not?
I would suggest continuing with the database tier, such as PDO or Zend_Db. Just choose the one you prefer.
Now, to fix all the existing code: