teparky Posted February 20, 2012 Share Posted February 20, 2012 Hi Guys, I need a bit of help. I need to post a value to a second page, but I want the button to have the same name. The page is to show registered users and then allows a user to send a friend request 'to put it in simple terms'. Username submitbutton username submitbutton And then i do the following <?php foreach ($_POST['username') as $user { echo $user; } ?> How could i go about doing this or would I have to use a 'Hidden' Field. Quote Link to comment https://forums.phpfreaks.com/topic/257361-help-with-posting-information-from-a-form/ Share on other sites More sharing options...
trq Posted February 20, 2012 Share Posted February 20, 2012 What exactly is the problem? Quote Link to comment https://forums.phpfreaks.com/topic/257361-help-with-posting-information-from-a-form/#findComment-1319145 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.