<?php
include "connect.php";
include "function.php";
$sql = "select * from tb_member order by id";
$result=mysql_query($sql);
$record=mysql_fetch_array($result);
if(isset($_POST['ACTION']))
if($_POST['txtKeyword']==""){
$strSQL = "SELECT * FROM customer WHERE (Name LIKE '%".$_POST['txtKeyword']."%' or telephone LIKE '%".$_POST['texKeyword']."%' or Email LIKE '%".$_POST['txtKeyword']."%' )";
$strSQL = "SELECT * FROM customer WHERE (Name LIKE '%".$_POST['txtKeyword']."%' or telephone LIKE '%".$_POST['texKeyword']."%' or Email LIKE '%".$_POST['txtKeyword']."%' )";
$result=mysql_query($strSQL);