Example: 1
index.php
<html>
<form action='login.php' method='POST'>
Username: <input type='text' name='username'><br>
Password: <input type='password' name='password'><br>
<input type='submit' name='Log in'>
</form><p>
<a href='register.php'> Register? </a>
</html>
Example: 2
register.php
<?php
?>
<html>
<form action='register.php' method='POST'>
<table>
<tr>
<td>Your full name : </td>
<td><input type='text' name='fullname'></td>
</tr>
</table>
</form>
</html>
Example 3
register.php
<?php
echo "<h1> Register</h1>";
?>
<html>
<form action='register.php' method='POST'>
<table>
<tr>
<td>Your full name : </td>
<td><input type='text' name='fullname'></td>
</tr>
</table>
</form>
</html>
Example 4
register.php
<?php
echo "<h1> Register</h1>";
?>
<html>
<form action='register.php' method='POST'>
<table>
<tr>
<td>Your full name : </td>
<td><input type='text' name='fullname'></td>
</tr>
<tr>
<td>Choose a username : </td>
<td><input type='text' name='username'></td>
</tr>
<tr>
<td>Choose a password : </td>
<td><input type='password' name='password'></td>
</tr>
<tr>
<td>Repeat your password : </td>
<td><input type='password' name='repeatpassword'></td>
</tr>
</table>
</form>
</html>
Example 5
register.php
<?php
echo "<h1> Register</h1>";
?>
<html>
<form action='register.php' method='POST'>
<table>
<tr>
<td>Your full name : </td>
<td><input type='text' name='fullname'></td>
</tr>
<tr>
<td>Choose a username : </td>
<td><input type='text' name='username'></td>
</tr>
<tr>
<td>Choose a password : </td>
<td><input type='password' name='password'></td>
</tr>
<tr>
<td>Repeat your password : </td>
<td><input type='password' name='repeatpassword'></td>
</tr>
<p>
<input type='submit' name='submit' value='Register'>
</table>
</form>
</html>
index.php
<html>
<form action='login.php' method='POST'>
Username: <input type='text' name='username'><br>
Password: <input type='password' name='password'><br>
<input type='submit' name='Log in'>
</form><p>
<a href='register.php'> Register? </a>
</html>
Example: 2
register.php
<?php
?>
<html>
<form action='register.php' method='POST'>
<table>
<tr>
<td>Your full name : </td>
<td><input type='text' name='fullname'></td>
</tr>
</table>
</form>
</html>
Example 3
register.php
<?php
echo "<h1> Register</h1>";
?>
<html>
<form action='register.php' method='POST'>
<table>
<tr>
<td>Your full name : </td>
<td><input type='text' name='fullname'></td>
</tr>
</table>
</form>
</html>
Example 4
register.php
<?php
echo "<h1> Register</h1>";
?>
<html>
<form action='register.php' method='POST'>
<table>
<tr>
<td>Your full name : </td>
<td><input type='text' name='fullname'></td>
</tr>
<tr>
<td>Choose a username : </td>
<td><input type='text' name='username'></td>
</tr>
<tr>
<td>Choose a password : </td>
<td><input type='password' name='password'></td>
</tr>
<tr>
<td>Repeat your password : </td>
<td><input type='password' name='repeatpassword'></td>
</tr>
</table>
</form>
</html>
Example 5
register.php
<?php
echo "<h1> Register</h1>";
?>
<html>
<form action='register.php' method='POST'>
<table>
<tr>
<td>Your full name : </td>
<td><input type='text' name='fullname'></td>
</tr>
<tr>
<td>Choose a username : </td>
<td><input type='text' name='username'></td>
</tr>
<tr>
<td>Choose a password : </td>
<td><input type='password' name='password'></td>
</tr>
<tr>
<td>Repeat your password : </td>
<td><input type='password' name='repeatpassword'></td>
</tr>
<p>
<input type='submit' name='submit' value='Register'>
</table>
</form>
</html>
No comments:
Post a Comment