Relative Content

Tag Archive for mysql

Is mysql_* deprecated after PDO was introduced?

I have been noticing for a long time on Stack Overflow that most users recommend to use PDO instead of mysql_*, because PDO is more secure than mysql_*. But my question is if websites which are already running with mysql_* will stops working? Or what exactly does “deprecating” mean here? So should we have never used mysql_*? From which PHP version is is deprecated?

Sharing a database while we work on local copies?

A friend and me are working on a webapp. We’re using git so each of us has a local copy of the app. But the problem is the database. We want to be able to see the latest changes the other person made. From what I understand, we have two options: