Jump to content

How to send 2 or more variable with a link to another page


bemax

Recommended Posts

Hi,

Can someone help me????

I want to go to page with id 11 and at the same time send search and fields to that page!

Here is how the code look like:

 

<form action="contents.php?id=11" method="post">

<input type="text" name="search"/><br/>

<select name="fields">

<option>Actualité</option>

<option>Annonces</option>

<option>Culture</option>

</select>

<input type="submit" name="submit" value="chercher"/>

</p>

 

</form>

 

         <form action="contents.php?id=11" method="post">
         <input type="text" name="search"/>

         <select name="fields">
               <option>Actualité</option>
               <option>Annonces</option>
               <option>Culture</option>
         </select>

         <input type="submit" name="submit" value="chercher"/>
         <input type="hidden" name="id" value="11"/>

         </p>
         </form>

 

??? ???

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.