<?php
include("bar.php");
include("config.php");
$strSQL = "SELECT CurLevel FROM v_studentmail WHERE student_code_status = 1 GROUP BY CurLevel ";
$objQuery = mssql_query($strSQL) or die ("Error Query [".$strSQL."]");
$objResult = mssql_fetch_array($objQuery);
?>
Warning: mssql_query() [function.mssql-query]: Query failed in on line 12
Error Query [SELECT CurLevel FROM v_studentmail WHERE student_code_status = 1 GROUP BY CurLevel ]