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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.