Whenever you allow your users to submit text to your website, you need to be careful that you don’t leave…
Read More

Whenever you allow your users to submit text to your website, you need to be careful that you don’t leave…
Read More
Prior to PHP 6 there was a feature called magic quotes that was created to help protect newbie programmers from…
Read More
Recall from the PHP Forms Lesson where we used an HTML form and sent it to a PHP web page…
Read More
A “do while” loop is a slightly modified version of the while loop. If you recal from one of the…
Read More
While a For Loop and While Loop will continue until some condition fails, the For Each loop will continue until…
Read More
The for loop is simply a while loop with a bit more code added to it. The common tasks that…
Read More
Repetitive tasks are always a burden to us. Deleting spam email, sealing 50 envelopes, and going to work are all…
Read More
An array is a data structure that stores one or more values in a single value. For experienced programmers it…
Read More
Creating Your First PHP Function When you create a function, you first need to give it a name, like myCompanyMotto.…
Read More
Creating the HTML Form If you need a refresher on how to properly make an HTML form, check out the…
Read More
PHP Switch Statement: Speedy Checking With the use of the switch statement you can check for all these conditions at…
Read More
An if/else statement is great if you only need to check for one condition. However, what would you do if…
Read More
Using these conditional statements can add a new layers of “cool” to your website. Here’s the basic form of an…
Read More
The if statement is necessary for most programming, thus it is important in PHP. Imagine that on January 1st you…
Read More
Require vs Include When you include a file with the include command and PHP cannot find it you will see…
Read More
Without understanding much about the details of PHP, you can save yourself a great deal of time with the use…
Read More
Comments in PHP are similar to comments that are used in HTML. The PHP comment syntax always begins with a…
Read More
In all programming languages, operators are used to manipulate or perform operations on variables and values. You have already seen…
Read More
PHP – String Creation Before you can use a string you have to create it! A string can be used…
Read More
As you saw in the previous lesson, the PHP command echo is a means of outputting text to the web…
Read More
A variable is a means of storing a value, such as text string “Hello World!” or the integer value 4.…
Read More
PHP’s syntax and semantics are similar to most other programming languages (C, Java, Perl) with the addition that all PHP…
Read More
PHP – What is it? Taken directly from PHP’s home, PHP.net, “PHP is an HTML-embedded scripting language. Much of its…
Read More