Fix sql-driver.php to display all results