View Single Post
  #3 (permalink)  
Old 05-10-06, 07:52 PM
codywallis codywallis is offline
New Member
 
Join Date: May 2006
Location: Kali
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Put all this code in one PHP file.

Ok here's is the form code
PHP Code:

<form action="" method="POST">

Username: <input type="text" name="username"><br>
Password: <input type="text" name="password"><br>
<?php echo $pincode?>
<br>
<input type="submit" name="Submit" value="Submit">
Here is the php code
PHP Code:



<?php

         
if(isset($Submit)) {
          
             if(
$_POST['username']=='codywallis' && $_POST['password']=='codywallis') {
             
$pincode="Pin code: <input type='text' name='pincode'>";
             }
}
?>
Reply With Quote