Posted by cover on 04/22/06 22:04
On Sat, 22 Apr 2006 10:59:05 -0700, cover wrote:
So I guess in short, what I'm looking for is a single field text
search to populate table 3 where the successful query result of this
form:
<html>
<head>
<title>Equip Update Search</title>
</head>
<body>
<center><h3>Equipment Update Search</h3></center>
<form method="post" action="updatingin4.php">
<center>
<table border="8">
<tr>
<td>Equipment Number:</td><td align="left"><input type="text"
name="equipno" size="25" maxlength="15" value=""></td>
</tr>
<tr>
<td colspan="4" align="center"><input type="submit"
value="Search"></td>
</tr>
</table>
</form>
</center><p>
</body>
</html>
Populates the form below where an 'equipno' is found in the db:
<html>
<head>
<title>Equip Update</title>
</head>
<body>
<center><h3>Equipment Update</h3></center>
<form method="post" action="updatingin2.php">
<input type="hidden" name="date2" value="<? print
strftime("%m/%d/%Y"); ?>">
<center>
<table border="8">
<tr>
<td>id:</td><td align="left"><input type="text" name="id" size="25"
maxlength="15" value=""></td>
</tr>
<tr>
<td>Equipment Number:</td><td align="left"><input type="text"
name="equipno" size="25" maxlength="15" value=""></td>
</tr>
<tr>
<td>Equipment Name:</td><td align="left"><input type="text"
name="equipname" size="25" maxlength="25" value=""></td>
</tr>
<tr>
<td>Equipment Model No:</td><td align="left"><input type="text"
name="model" size="25" maxlength="6" value=""></td>
</tr>
<tr>
<td>Equipment Serial No:</td><td align="left"><input type="text"
name="serial" size="25" maxlength="6" value=""></td>
</tr>
<tr>
<td colspan="4" align="center"><input type="submit" value="Update
Record"></td>
</tr>
</table>
</form>
</center><p>
</body>
</html>
Navigation:
[Reply to this message]
|