syntax error in viewsurvey.php