$objConnect = mysql_connect("localhost","root","root") or die("Error Connect to Database");
mysql_query("SET NAMES UTF8");
$objDB = mysql_select_db("survey");
$strSQL="select *,DATE_FORMAT(startdate,'%d %b %y') AS startdate
FROM seec WHERE 1{$statement} ORDER BY startdate DESC ";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
$Num_Rows = mysql_num_rows($objQuery);