Location: PHPKode > projects > Pet Grooming Management System > pet/modifybreed2.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>PGMS Modify Breed page 2</title>
<SCRIPT type="text/javascript">
<!--
function goToURL() { window.location = "http:blank.php"; }
// -->
</SCRIPT>
</head>
<body>
<?php
$bid = $_GET['bid'];
require ('info.inc');
mysql_connect('localhost',$r,$p) or die("Could not connect to Host.");
mysql_select_db($d) or die("Could not select database.");
$query = "SELECT *
          from service_numbers
					where tid = '$bid'";
$result = mysql_query($query);
$num_results = mysql_num_rows($result);
		$row = mysql_fetch_array($result);
		$bid = $row['tid'];
		$type = $row['type'];
		
require ('header.inc');
echo'<center>';
echo'<h3>Modify the Breed</h3>';
echo'<form action = "modifybreed3.php" method = "post">';
echo'<table border="0" cellpadding="0" cellspacing="0" summary="">';
echo'<tr><td>Breed:&nbsp;</td><td><input type="text" name="breed" value = "'.$type.'"/></td></tr>';
echo'</table>';
echo'<table>';
echo'<tr><td><button type="reset">Clear</button></td>';
echo'<input type="hidden" name="bid" value="'.$bid.'" />';
echo'<td><button type="submit">Enter</button></td>';
echo'<td><input type = "button" value = "Cancel" onClick = "goToURL()"></td></tr>';
echo'</table>';
echo'</form>';
echo'</center>';
require ('footer.inc');
?>
</body>
</html>
Return current item: Pet Grooming Management System