Here is a demo (hosted by me!):
http://styx.freehostia.com/login/main_login.php
----> Username: demo
----> Password: demo
Note, password isn't encrypted ... and the input field for the password is not hidden. If you want to make it hidden (******) you have to do this:
Chnage the following line in main_login.php: [HTML]<input name="mypassword" type="text" id="mypassword">[/HTML]
Into this: [HTML]<input name="mypassword" type="password" id="mypassword">[/HTML]
An example of this is here:
http://styx.freehostia.com/login/main_login2.php
----> Username: demo
----> Password: demo