I am trying to understand the differnece between mysqli and mysql, I generally only use the basics for queries, select something, something from table where blah=3

those sorts of things, obviously the amount of data returned changes.

I am moving to PHP5 and mysql5 , so as part of this im wondering if i should also move to start using mysqli as my connector, my question is, what is the advantage of doing this, I keep reading that it is better but i dont find good resourses to tell me why it is better, etc.

Hope this makes sense.

Thanks!

    Read the PHP manual's overview of mysqli. It includes a comparison with the PDO extension and the MySQL extension. Personally, I prefer the PDO extension as I like its interface and the consistency of interface between difference database management systems.

      Write a Reply...