Jump to content

POST FORM shows in URL ?


Gulsaes

Recommended Posts

i'm a bit confused

 

echo '<div class = "MyfavoritesAddto">

<form id="frmAddFavs" name="frmAddFavs" method="post" action="nothing.php">

<input type="hidden" name="fav" value="add">

 

<input class="AddtoFavsButton" type="submit" name="button" id="AddFavs" value="Add Favorite" />

</form>

</div>';

 

 

 

When the button clicks it puts the information in the URL ie http://site/dir/test.php?country=US&fav=add&button=Add+Favorite

 

and returns to test.php instead of nothing.php

 

 

 

any ideas

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/131612-post-form-shows-in-url/
Share on other sites

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.