PHP Classes

Why the complaining?

Recommend this page to a friend!

      PHP Classes blog  >  The Plot to Kill PHP ...  >  All threads  >  Why the complaining?  >  (Un) Subscribe thread alerts  
Subject:Why the complaining?
Summary:I read this post and went and rewrote my code to use MySQLi...
Messages:1
Author:animuson
Date:2011-07-15 17:16:08
Update:2011-07-15 17:57:14
 

  1. Why the complaining?   Reply   Report abuse  
Picture of animuson animuson - 2011-07-15 17:57:14
Seriously, I read this post and went and rewrote my code to use MySQLi instead. It took me a couple minutes. So what is the big deal? A couple minutes to improve my MySQL speed? Seems like a fair trade... I suppose I could understand those who use the actual functions throughout their page, I created a Database object that handles it all from one PHP file.

Those of you saying, "Oh, now I have to recode everything!" Quit being stupid, no you don't. A lot of it involved just adding an 'i' to the end of 'mysql' and moving and/or adding the database ID in the function. That's all I had to do. It was extremely simple and required absolutely no effort.