Jump to content

lukenichols

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by lukenichols

  1. Hi guys. I am new to PHP and website design and also new to the forums. I am basically trying to teach myself as much as possible about PHP, HTML, SQL & CSS. I am planning to start by building a simple website. I have already designed a very simple log in screen in a .HTML document. Here is the current code for my log in page. <!DOCTYPE html> <html> <head> <form action="Loginprocess.php"> <div> Username: <input type="text" name="username" size="20" maxlength="20" /> <br /> Password: <input type="password" name="password" size="20" maxlength="20" /> <br /> <input type="submit"/> <br /> </div> </form> </head> <body> </body> </html> So am I correct to think this page will access the loginprocess.php document once the user clicks the submit button? My question is, once the user clicks the submit button, the loginprocess.php document will be accessed which is effectively changing web page is it not? How can I carry the values from the user entry boxes over to the loginprocess.php document (to check if they are valid)? For now, I would simply like my loginprocess.php document to open the Main.html document. (I will code the data validation etc later on). So I basically need to know if I am going down the right route here? And I would also like to know how to open another web page in php code. Thanks guys Luke Home.php
×
×
  • 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.