Forum Moderators: coopster
Welcome to WebmasterWorld
The best to start with learning php is to download easyphp and then save all those pages which you make using frontpage in htdocs folder of easyphp
This will run when you will open [localhost...]
With Regards and Best Wishes
Easyphp Download [sourceforge.net]
<html>
<title>FORM 1 PAGE </title>
<body>
<h1> Enter your log in details</h1>
<form action="Formtest1.php" method="get">
<b>Username:</b><input type="text" name="username" /><br>
</br>
<b>Password:</b><input type="text" name="password" /><br>
</br>
<input type="button" value="Submit">
</form>
</body>
</html>
If you want to do it all in one page..use $_POST..
Add these lines to the top of the page and save this file with a php extension :
<?
echo $_POST[username] . $_POST[password];
?>
Entire Code :
<?
echo $_POST[username] . $_POST[password];
?>
<html>
<title>FORM 1 PAGE </title>
<body>
<h1> Enter your log in details</h1>
<form action="Formtest1.php" method="get">
<b>Username:</b><input type="text" name="username" /><br>
</br>
<b>Password:</b><input type="text" name="password" /><br>
</br>
<input type="button" value="Submit">
</form>
</body>
</html>