<?
$sql_show = "select * from dbstudy";
if($_POST['Search'])
{
$txt_search = $_POST['txt_search'];
$sql_show = "SELECT * FROM dbstudy WHERE ( name like '%$txt_search%' or Sub_ID like '%$txt_search%' ) ";
}
$result_show = mysql_query($sql_show) or die(mysql_error());
while($row_show = mysql_fetch_array($result_show))
{