dmccabe Posted March 31, 2008 Share Posted March 31, 2008 Ok I am working a small search form and the form probably works, however, because I am trying to make it in to a bit of an all encompassing webpage then I have the following structure. The page with the form on is: http://localhost/test/?page=corpaccount&action=viewall This lists all the accounts with a seach box at the top: <tr> <td><form name='searchfrm' method='GET' action='?page=corpaccount&action=viewall'> <input type='text' name='search' width='10' /><input type='submit' value='Search' /> </form> </td> </tr> The problem comes when the search is clicked it goes to: http://localhost/test/?search=xyz and I need it to be: http://localhost/test/?page=corpaccount&action=viewall&search=xyz instead. Any ideas? Link to comment https://forums.phpfreaks.com/topic/98811-search-form/ Share on other sites More sharing options...
dmccabe Posted March 31, 2008 Author Share Posted March 31, 2008 heheheh changed my GETS to POSTS and BINGO! Link to comment https://forums.phpfreaks.com/topic/98811-search-form/#findComment-505623 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.