I CAN'T USE MYSQLI OR PDO
I'm currently working on a legacy project (5.2) where I can't use fancy extensions like MySQLi or PDO - Only MySQL - How would I connect to a database and use that connection in a class?
Basically this
public function __construct($pdo) {
$this->db = $pdo;
}
As 5.2 MySQL / PHP
I just need a simple example to get started.
Thanks!