bemax Posted July 20, 2008 Share Posted July 20, 2008 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> Link to comment https://forums.phpfreaks.com/topic/115726-how-to-send-2-or-more-variable-with-a-link-to-another-page/ Share on other sites More sharing options...
DarkerAngel Posted July 20, 2008 Share Posted July 20, 2008 <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> ??? ??? Link to comment https://forums.phpfreaks.com/topic/115726-how-to-send-2-or-more-variable-with-a-link-to-another-page/#findComment-594963 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.