y2yang Posted May 26, 2009 Share Posted May 26, 2009 How can I get this code: <select name="SearchField" id="SearchField" style="width:80px;" class="vam"><option value="title">Title</option><option value="body">Body</option></select> To achieve something like this code: <input type="checkbox" name="title" value="on" /> <input type="checkbox" name="body" value="on" /> What I want is to get a url something like this: .../list.php?SearchText=...&body=on&title=on I wanted the url to somehow, have BODY and TITLE as a string up there. I know this is not considered php but I don't know where else to post it. Link to comment https://forums.phpfreaks.com/topic/159643-solved-want-to-have-titlebody-in-url-with-search-form/ Share on other sites More sharing options...
Andy-H Posted May 26, 2009 Share Posted May 26, 2009 http://www.w3schools.com/TAGS/att_select_multiple.asp Link to comment https://forums.phpfreaks.com/topic/159643-solved-want-to-have-titlebody-in-url-with-search-form/#findComment-842016 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.