Jump to content

Post a submit button values


geroido

Recommended Posts

Hi

Can anyone tell me how to get the 'name' of a submit button. On the next page I want to retrieve whether the user chose 'user' or 'client'. The form method is post.

 

      <TR> <TD><input type="submit" name="user" value="General user"></TD>
      <TD> <input type="submit" name="client" value="Register as a client"></TD></TR></table>

Link to comment
https://forums.phpfreaks.com/topic/123586-post-a-submit-button-values/
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.