i want search ,whene i want search this time show all same information from sql server using by php code
case "search":
$ID=$_POST;
$bodyInfoText="$ID";
include("db_connect.inc.php");
$SQL="select * from tbl_person where kamal='%$ID%'";
$result=mysql_query($SQL,$con);
if($result):
if (mysql_num_rows($result)==1):
$bodyInfoText="show_user_info.inc.tpl.php";
else:
$bodyInfoText="$ID $Pass inValid user";
endif;
else:
$bodyInfoText="Fail to select :".mysql_error($con);
endif;
break;
but whene this comment give this time show one name , but i want same all name show this time from sql server