GIF89a;
| Direktori : /home/serb/www/ |
| Current File : /home/serb/www/escort_wise_search.php |
<?
session_start();
include("lib/globals.php");
include("lib/common.php");
include("lib/functions.php");
?>
<?
if($_POST['escortsearch'])
{
$sql="SELECT * FROM escort_details WHERE user_name_screen='".$_POST['escortsearch']."'";
$res=execute_query($sql);
$num=mysql_num_rows($res);
if($num>0)
{
$row=mysql_fetch_array($res);
?>
<script language="javascript">
location.href="escort-service-dtls.php?estid=<?=$row['id']?>&city_id=<?=$row['escort_city']?>";
</script>
<? }
else { ?>
<script language="javascript">
alert("Sorry, you have provided an invalid Name");
location.href="index.php";
</script>
<? }
}
?>