dflow Posted December 6, 2009 Share Posted December 6, 2009 i want to search reports according to several parameters choose the report and enter a search value in a text field <div id="apDiv1"> <form id="formFindby" name="formFindby" method="post" <select name="FindBYType" id="FindBYType"> <option value="0">FindBy</option> <option value="1">RequestID</option> <option value="2">Customer Last Name</option> <option value="3">Email</option> </select> <?php switch ($alpha) { case 1: echo 'action="tablesort_agentscreen-FindRequest.php">'; break; case 2: echo 'action="tablesort_agentscreen-FindCustomerLastName.php">'; break; case 3: echo 'action="tablesort_agentscreen-FindCustomerEmail.php">'; break; } ?> <div> <input type="text" name="SearchField" id="SearchField" /><input name="submit" type="button" /></div> </form> </div> Link to comment https://forums.phpfreaks.com/topic/184175-search-form-dropdown-did-i-make-a-mess/ Share on other sites More sharing options...
mrMarcus Posted December 6, 2009 Share Posted December 6, 2009 sounds like a plan, Stan. let us know how that goes. Link to comment https://forums.phpfreaks.com/topic/184175-search-form-dropdown-did-i-make-a-mess/#findComment-972378 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.