Jump to content

[SOLVED] Want to have &title=..&body=.. in url with search form.


y2yang

Recommended Posts

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.