We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

23 – PHP Switch

Last time, in my previous lesson we have learned about the If statement in PHP. But, when checking for certain conditions there are times that an if statement is not the most effective way.   For instance, there is a variable that contains  OOTD (Outfit of the day) for summer vacation and you want to prepare […]

22 – PHP elseif Statement

To check for one condition, if/else statement is a powerful tool to use. However, if you check the variable $emp_name for the name of the employee which is Craig the President, Kenjie the CEO or a Manager of the company, will need an elseif statement to check 3 or more conditions.   What is elseif in php? An elseif […]

21 – PHP if/else Statement

In my previous lesson, I have tackled the if statement which is important in PHP when used properly and it executes some code if one condition is true.   This time, let’s tackle about the PHP if/else statement, obviously as its name suggests, it is a combination of if and else. However, The if/else statement […]

20 – PHP If Statement

The if statement is a powerful tool when used properly and it is also necessary for most programming languages because it serves as a conditional operator of your statement. The if statement has different syntax in other programming languages while there are some languages that has the same syntax just like C#, PHP, C++, Java, etc..   […]

19 – PHP Require

Require command is used to include a file into your PHP code. You will notice that it’s a bit the same with my previous lesson which is the Include command. But they are not alike, there is a big difference between require and include commands.   Require command vs include command   An error message […]

Page 3 of 5412345...102030...Last » © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!