Unfortunately, I wrote a lot of code using mysql_query, mysql_fetch_array and mysql_num_rows calls. It's close to finish, but today I've read about PDO, mysqli. The only hope I shouldn't start over and spend weeks is the answer of Well if you already have a lot of code written, I wouldn't bother, but for any new projects I would strictly suggest PDO.– musicfreak May 15 '09 at 5:23 The answer was 2.5 years ago, so the answer could be out of date as well. One of the reasons to switch to PDO is that it helps protect against SQL injections. I "clean" all inputed strings so I think that's not an argument for me. Better performance (if it's really better) is important as well, but the web-site works fine even now. Should I spend weeks to rewrite the code? Or that's not a big deal if it works? Sorry for this question, but I'm confused. Reading more documentation doesn't help me to choose a proper answer in my case. I'm not sure if I spend a lot of time I will get any better results or performance (alghout if I start it now, I would start with PDO as it is newer).
Thank you.