PHP Classes
elePHPant
Icontem

Thank you! I was in the midst of writing my own version of m...

Recommend this page to a friend!

      mysql_* functions using PDO  >  All threads  >  Thank you! I was in the midst of...  >  (Un) Subscribe thread alerts  
Subject:Thank you! I was in the midst of...
Summary:Package rating comment
Messages:2
Author:Arn B
Date:2015-11-12 15:16:31
 

Arn B rated this package as follows:

Utility: Good
Consistency: Good
Documentation: Good
Examples: Good
Unit tests: Not sure

  1. Thank you! I was in the midst of...   Reply   Report abuse  
Arn B - 2015-11-12 15:16:31
Thank you!

I was in the midst of writing my own version of mysql_ to PDO when I found this package. Saved me a from a ton of work and testing. So far it is 100% successful.

I did not try the tests but followed the example.

Put the 3 codes into my test DB connection module and it just worked. Also added one line of code testing for the presence of the native mysql_ interface, allows my system to function in either mode.

  2. Re: Thank you! I was in the midst of...   Reply   Report abuse  
Stephen Rider - 2017-02-08 15:57:06 - In reply to message 1 from Arn B
The class already includes the test for the existence of the old functions, so you really just need to include the file. (See the end of the .class.php file