What is the most correct way to perform MySQL Queries using PHP?
I read somewhere, that instead of using the old mysql_connect/mysql_query() statements, we should be using something else now! And the person who wrote that made it sound like we all should have known this by now.
I’m no expert on this stuff, but I really can’t find anything about this.
Nowadays most applications are developed using an ORM like doctrine or propel. Internally most of them are using PDO….