Time and Date Function

Image Source:
One of the most important simple functions we use when we work on PHP is the Time and Date functions. It performs two things. The Time () function being responsible for the assignment of each date and time, a number string that is based in [...]

The HTTP Header

Image Source: content.answers.com
People who are just starting to learn HTML may hear developers terms such as HTTP header and simply think that it is the same with a header of an HTML document. Big Mistake. The HTML header is anything you write [...]

Things To Remember on PHP

Image Source:www.faqs.org
Do you know what if felt like when you’re forgetting something and you promised to remember even just for one day? It felt like not having sessions in your website. Sessions in PHP temporarily saves important data that is needed for browsing the whole site, into the server for future references. Therefore, it will [...]

Arrays : Changing cases

This form of array declaration allows one to change the case from uppercase to lowercase and vice versa. The syntax goes as follows:
array_change_key_case(array,case)
The array part, specifies which table or array to use and is a required field which is not the case with the key which is automatically assigned a value. An example of it’s [...]

Getting Started with PHP Programming

The first step to get us on our way to programming in PHP would be to set up an ideal development environment. You need a Web Server software like Apache (which would be what we are going to use) which is only one of many out there. Most of these web servers are open-source meaning [...]

Post Variable Continued and the $_REQUEST variable

The “welcome.php” file can now utilize the $_POST variable to catch the data contained within the form as with the request variable in the previous posts, the form fields will automatically be the ID keys in the $_POST array. This variable would be very useful for passwords and user name and other entry forms (having [...]

The $_Post Variable

The $_POST Variable
The variable is an array of variable names and values that is sent by the HTTP POST method. The $_POST variable is used to collect values from a form with the method=”post”. The information sent from a form through this method is invisible to others and has no limits with concerns to the [...]

Forms - Get Variable continued

The file “welcome.php” can now use the $_GET variable to obtain all the required information which is shown on the address bar. As it does that, all the name fields of the form will automatically be the ID keys in the $_GET array variable.
Welcome .
You are years old!
The use of the $_GET variable results in [...]

PHP $_GET

The $_GET variable is an array of variable names with the corresponding values sent by the HTTP GET method. It is used to collect values from a form by using the method=”get”. All information sent by a form using this method is visible to all on the browser’s address bar but it is limited to [...]

Form Validation

As the previous post discussed, PHP is very easy to use with web pages for the language has all the elements of a web page as a useable element. Now, going forward, forms or pages are easily handled and checked on the user end, meaning when you open a page the data input is easier [...]