New model using PDO, tested for MySql