PHP Classes

Wonderful package and huge time saver.

Recommend this page to a friend!

      PHP MySQL to MySQLi  >  All threads  >  Wonderful package and huge time saver.  >  (Un) Subscribe thread alerts  
Subject:Wonderful package and huge time saver.
Summary:Package rating comment
Messages:3
Author:Terry Woody
Date:2017-11-20 14:12:58
 

  1. Wonderful package and huge time saver.   Reply   Report abuse  
Picture of Terry Woody Terry Woody - 2017-11-20 14:12:58
Wonderful package and huge time saver.

  2. Re: Wonderful package and huge time saver.   Reply   Report abuse  
Picture of cathy sirap cathy sirap - 2019-08-30 12:59:05 - In reply to message 1 from Terry Woody
hello terry
how do you use the mysqli package?
like where do you place the files?
tyhanx

  3. Re: Wonderful package and huge time saver.   Reply   Report abuse  
Picture of Terry Woody Terry Woody - 2019-08-31 17:46:07 - In reply to message 2 from cathy sirap
Take a look at the "example tab / example.php" Cathy.

Just like it says:

"Place the mysql2i.class.php and mysql2i.func.php files in a web accessible folder and include the mysql2i.class.php file before any mysql function calls a made, usually from within your initialization files."

So I create folder in same folder as my app/script and call it "mysql2". In that folder are mysql2i.class.php and mysql2i.func.php.

Then my app/script has a conn.php with database connection config. At top of conn.php before all else I have:

include_once('mysql2/mysql2i.class.php');

Pretty much it:) Every app/script is little different but this is the jest of using.