I did some editing and now all i get is what i enter in the search field. the process.php just displays what i typed into it.
www.lawfour.com/esr/search.php
Thanks for all you help I really appreciate it.
Here is the new CODE.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>SEARCH</title>
<SCRIPT LANGUAGE="javascript">
function validate() {
fm = document.thisForm
//use validation here to make sure the user entered
//the information correctly
fm.submit()
}
</SCRIPT>
</head>
<body>
(javascript validation)
<form name="thisForm" method="POST" action="process.php">
<table width="30%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="7%" class="verdana_login">Search:</td>
<td width="8%">
<input type="text" name="my_textbox" size="10">
</td>
<td width="12%">
<form>
<?php echo $list; ?>
</form>
<select name="my_dropdown">
<?
include ("http://www.lawfour.com/esr/dbconnect.php");
$dbops ="New MyOps";
$link ="$dbops->dbconnect()";
$list =" <option value='CommonEquip'>Common Equip.</option><option value='CommonEquip'>Lab Equip.</option>
<option value='Company'>Vendor</option><option value='Equipment Info'>Pending Repairs</option>
<option value='Parts'>Products</option><option value='Parts'>Parts</option><option value='RTP'>RTP</option>
<option value='Ticket'>Airgas Tickets</option> ";
?>
<option>Airgas Tickets</option>
<option>Products</option>
<option >Pending Repairs</option>
<option selected>Common Equip.</option>
<option >Lab Equip.</option>
<option >Vendors</option>
<option >RTP's</option>
</select>
</td>
<td width="13%" align="center"> <INPUT type=image name="btm_submit" src="http://www.lawfour.com/esr/images/go.gif" border="0" width="35" height="22" onclick="validate()"></td>
</table></form>
</body>
</html>