Hello,
I'm fairly new to php and have built a medium sized website using standard mysql database calls. However, I have recently learned about PDO and I am hoping to find out from the community if it is worth switching from mysql over to PDO. For security I have been using mysql_real_escape_string.
Info about the site: I'm using a mix of INSERT and SELECT calls. The data returned from SELECT calls isn't massive (no more than 30 records returned by using LIMIT). There will also not be a whole lot of INSERTs. The site is currently not live and so making changes now is easy.
In you professional opinions, is it worth my time to switch the site over to PDO from mysql? Or is staying with mysql just as good? Or in other words, what would be the reason, if any, to switch to PDO now?
Thank you