<?
if($_GET["txtKeyword"] != "") {
$objConnect = mysql_connect("localhost","root","") or die("Error Connect to Database");
$objDB = mysql_select_db("mydatabase");
// Search By Name or Email
$strSQL = "SELECT * FROM project_table WHERE (pro_name LIKE '%".$_GET["txtKeyword"]."%')";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
$Num_Rows = mysql_num_rows($objQuery);
$objConnect = mysql_connect("localhost","root","") or die("Error Connect to Database" . mysql_error());
$objDB = mysql_select_db("mydatabase") or die(mysql_error());
// Search By Name or Email
$strSQL = "SELECT * FROM project_table WHERE (pro_name LIKE '%".$_GET["txtKeyword"]."%')";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."] : " . mysql_error());