+ 4
Best Connection Type for PHP?
I'm starting to get used to PHP but I'm still wondering, which connection type is better?: MySQLi, MySQL or PDO Can you let me know of the advantages and disadvantages and their security, thanks!
3 Answers
+ 2
MySql is now deprecated so you should use mysqli. That's basically a improved version of mysql
+ 2
Thanks! I've started using it and it's worked fine đ
+ 1
I tried using mysql on my wampserver and it isn't wotking but mysqli is working perfectly... So i think mysql is not supported by all servers... Use mysqli