Here s code
<html>
<head>
<title>Member Look up</title>
</head>
<body bgcolor="006666">
<?php
if ($_POST['Facid'] != "") $Facid = $_POST['Facid'];
if ($Facid != "") {
@ $db = mysql_pconnect('host', 'name', 'password');
if (!$db) {
echo 'Error: Could not connect to database. Please try again later.';
exit;
}
$listing_query = "select * from DB.Facility where Facid = '".$Facid."'";
$listing_result = mysql_query($listing_query) or die("Error in return query<br>".mysql_error());
$num_rows = mysql_num_rows($listing_result);
if ($num_rows == 0) {
echo '<font color="white"><b>Please try again</b></font></br></br>';
print "Practice ID invalid.</br></br>";
echo '<a href ="poup.html"><font color="white">Back</font></a>';
} else {
?>
<? php
<script language="JavaScript">
window.location = "reports_1st_quarter.htm";
</script>
<?php
}
} else { ?>
<form method="POST">
<p align="left"><b><font color="#FFFFFF">Enter Practice Id</font></b></p>
<p align="left">
<input type="text" name="Facid" size="20">
<input type="submit" value="Go">
</p>
</form>
<?php } ?>
<p align="center"> </p>
</body>
</html>
SOme body please help cant find any research?????