Jump to content

$_post["submit"] Question


chibineku
 Share

Recommended Posts

I am creating an all in one registration/login form, in case someone clicks register by mistake and wants to login without hitting another link, or if it turns out they're already in the database. If I have two buttons, one named register and one named login, will the $_POST variable only return true for the name of the one that is pushed?

Link to comment
Share on other sites

You can get the name from the $_POST variable...thank goodness for that!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...