Variable variables – Get parameters of HTML elements which generated with a PHP for loop

Posted by Shek on November 30, 2011 under PHP | 3 Comments to Read

This post is the continuation of the post “Create a HTML form with PHP for loop and table”. It mainly focus on how to catch the HTML elements’ data generated from a PHP of a HTML form, it also talks about PHP Variable variables.

Read more of this article »

Use the same JavaScript function for different HTML forms

Posted by Shek on August 11, 2011 under HTML, JavaScript | Be the First to Comment

In this post, I am going to show how to use the same JavaScript function for different HTML forms, this could help in situations when multiple forms need to preform the same operation but with different inputs.

Read more of this article »

Using JavaScript to disable HTML textfield by clicking radio button

Posted by Shek on February 12, 2011 under HTML, JavaScript | 3 Comments to Read

Editor’s note: In some cases, when we select one radio button, we want disable the user to have a fill in some information related which is no related to that other radio button, and so javascript helps us to do this job.
Read more of this article »

Check ip address of host or website with PHP function and HTML form

Posted by Shek on May 26, 2008 under PHP | Be the First to Comment

Editor’s note: There is a function in PHP to check the IP address of a host. It is called “gethostbyname()“. We could use it to check the IP address of a website. Steps are very simple: Put the website address into the function, for example: gethostbyname(www.phpsuperblog.com); and print the result out and then the IP address of the website would appear.
Read more of this article »

Get MySQL database records as HTML form text field’s value

Posted by Shek on May 19, 2008 under PHP | Be the First to Comment

In my past post on explaining how to set the default values of the text field. Now to use the same concept, we could get the records from the MySQL database and place it into the text field as default text. Here I have created an example to show you how to do so. Read more of this article »

Set default text for text field in HTML form

Posted by Shek on under HTML | Be the First to Comment

In some websites, you might discover that some text fields already has text written it when the page loads. Text such as “enter your search here” or “input here”. You might wonder how to do it, is it to do with another programing language such as javascript?? The answer is no, HTML can do the do. Read more of this article »

Page 1 of 3123