Login   Register  
PHP Classes
elePHPant
Icontem

New version with support for the mysqli extension

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Ultimate MySQL  >  All threads  >  New version with support for the mysqli extension  >  (Un) Subscribe thread alerts  
Subject:New version with support for the mysqli extension
Summary:Ver 3.0 and thank you to Shadow aok, Michael Ansaldi, & Ryan Tse
Messages:2
Author:Jeff Williams
Date:2013-08-04 05:13:06
Update:2013-08-05 14:15:32
 

  1. New version with support for the mysqli extension   Reply  
Picture of Jeff Williams
Jeff Williams
2013-08-04 05:13:06
I would like to give a special thank you to Shadow aok, Michael Ansaldi, and Ryan Tse for the code contributions!

Since the mysql library is deprecated now, the code now supports the mysqli extension instead. I spent a lot of time going through to see what changes were made and tested the new code base. The SQLUnfix method was removed and the SQLFix command was changed from static for compatibility with the new library. Also, the default for error trapping is now set to true (but can easily be changed back by modifying line 57:

public $ThrowExceptions = true;

These should be the only issues with backward compatibility. THe documentation still needs to be updated but will still work fine (if you haven't downloaded the help file, I recommend taking a look). I also changed the license type to freeware so that anyone can modify the class to their liking or situation.

I kept getting emails from PHPClasses.org telling me I was the #1 and #2 author for the United States, so THANK YOU to all of you who downloaded and supported the project!! It's about time I went back and upgraded the code.

  2. Re: New version with support for the mysqli extension   Reply  
Picture of farid silva aboid
farid silva aboid
2013-08-05 14:15:32 - In reply to message 1 from Jeff Williams
Thank you Jeff, your class is solid and friendly, and now up to date :)