Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in /home/narayani/public_html/vinurudha.in/scholarshipform.php:22 Stack trace: #0 /home/narayani/public_html/vinurudha.in/scholarshipform.php(22): mysqli_query(Object(mysqli), 'select distinct') #1 {main} thrown in /home/narayani/public_html/vinurudha.in/scholarshipform.php on line 22