Uses php PDO interface