$school_type=$_POST[\'school_type\']; $test_date=$_POST[\'test_date\']; $sql = "SELECT * FROM `testresults` WHERE school_type = \'$school_type\'