PHPSuperBlog.com

Refresh page with PHP function header()

In my past post Redirect page using PHP function header(), I talked about how to redirect page with header() function. To refresh a page, I could think of using the same function, just redirect the page to itself, and it has the refresh effect. Continue Reading →

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 →

  • Categories

  • Useful Downloads