ok i have two pages and right now i just want to send the form data and display it on another page im using notepad and when i run the codes through and it just comes up as nothing for the varibles
page 1
i cant get any php to work in notepad (im using google crome)
page 1
Code:
<html> <?php> <form action="php2.php" method="post"> Username: <input type="text" name="user" /> Password: <input type="password" name="password" /> <input type="submit" /> </form> </html>
Code:
<html> Welcome <?php echo $_POST["user"]; ?> <br /> Your password is: <?php echo $_POST["password"]; ?> </html>
Comment