Jump to content

How to use a submit button to pass vars in a URL


$username

Recommended Posts

Hello All,

      Ok, I dont know if this is posible, but I am trying to have a form files and then the submit button will then pass the vars in the url.

 

Here is an example.

 

<form action="" class="searchform">

<p>

<input name="SrchString" class="textbox" type="text" />

 

<input  class="button" value="Search" type="submit" />

</p>

</form>

 

?search=1&SrchString=txt

 

Is this posible?

 

Thanks,

Brett

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.