PHPSuperBlog.com

HTML form – submit to a new window

We use HTML form a lot for the user to input data and process those data from a PHP file, but with the standard code of a HTML form:

<form method="post" name="bus" action="afile.php">
<input type="text" name="atext" />
<input type="submit" value="submit"/>
</form>

Continue Reading →

HTML form – Password Text Field

In cases like login system, the HTML form should contains a text field for the user to type in the password. But when the user types in the password, other might see the password from behind the user. To avoid from this happening, a password text field is needed. A password text field works when the user type the password into the text field, every character will turn into *. Continue Reading →

Create check box by using the records from MySQL datebase as values

To use the records in MySQL database as values and text of the check box is a good idea for the administrator because he/she can add, update or delete check box’s items within the MySQL database, without touching the HTML source. Continue Reading →

HTML form element – Check box

In HTML form, sometimes you might like to let your user to select an option from your pre-made list. This is to avoid them from typing in a value which is not what you want them to input. In this case HTML form element – radio buttons could do the job, but what if in some cases, the user has to select more than one value? Check box is the answer, Here I have created an example to demonstrate the way to create check box: Continue Reading →

  • Categories

  • Useful Downloads