darklexus2k9 Posted September 15, 2009 Share Posted September 15, 2009 well as the title says i need help with the search forum on my site it is just a simple search forum <forum action="search.php" > <input type="text" id="search" value="enter search word" > <input type="button" id="submit" value="submit" > </forum> well it works file but next to the text box i need a drop down menu in that menu i need some options like photos / music / art wen a member clicks one of these i need the word to be added to there search tearm so if that type in the text box the word old and then chose the word art from the drop down menu the word Art will be added to the end of old so that the text box mow shows old art is the possible if so how can it be done thanks Link to comment https://forums.phpfreaks.com/topic/174385-need-help-with-search-forum/ Share on other sites More sharing options...
Alt_F4 Posted October 13, 2009 Share Posted October 13, 2009 firstly there are no such things as <forum></forum> tags in html I think you mean <form></form> secondly depending on where you are searching (im assuming a database) what you are asking can be achieved with javascript and the onchange event of the drop down menu OR and probably the better option with a php script that appended the search criteria before searching the database. have a go at it and post the code you come up with if you need help good luck. Link to comment https://forums.phpfreaks.com/topic/174385-need-help-with-search-forum/#findComment-936075 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.