PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I need some quick help on a Login page. It should send the username the next page, where it will pull and display the MySQL database information based on login name.
The second page I got under control. It's the process of using one one submit button to both check login info, and second, send the information to the second page, probably in a URL push.
Would I need two form actions, and if so, how is the syntax constructed for that?
Nah, Just do this. If you form action is post, then name the submit button like name="btnSubmit" or something. Then at the beginning of the first page..
if ($_POST['btnSubmit']) {
// Check Login Stuff
// Call the second page passing the stuff by URL push.