<?
include "Ex_connect.php";
$result=mysql_db_query($dbname,$sql);
if($_GET["txtKeyword"] != "")
{
$strSQL = "SELECT * FROM member WHERE (name LIKE '%".$_GET["txtKeyword"]."%' or work LIKE '%".$_GET["txtKeyword"]."%'or user LIKE '%".$_GET["txtKeyword"]."%' )";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
echo"<br>";
echo "
<table width='1200' border='1'>
<tr bgcolor='color='#0443AA'>
<td width='50'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>ลำดับที่
</font></b></center></td>
<td width='200'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>ชื่อ-นามสกุล
</font></b></center></td>
<td width='50'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>เพศ</font></b></center></td>
<td width='200'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>user</font></b></center></td>
<td width='200'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>password
</font></b></center></td>
<td width='50'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>สถานะ
</font></b></center></td>
<td width='200'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>Email
</font></b></center></td>
<td width='100'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>เบอร์โทรศัพท์
</font></b></center></td>
<td width='100'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>วันที่เป็นสมาชิก
</font></b></center></td>
<td width='50'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>แก้ไข</font></b></center></td>
<td width='50'><center><b><font size='2' face='MS Sans Serif'color='#FFFFFF'>ลบ</font></b></center></td></tr>";
}
while($record=mysql_fetch_array($objQuery))
{