Update database.class.php

Changed from PDO to mysql