Category Archives for PHP

PHP Tutorials – How To Declare Variables in PHP

Variables are like containers for storing information. In PHP a variable is declared by prepending a dollar ($) to the variable name. Unlike other programming languages, PHP has no command for declaring

Continue reading

PHP Tutorials – Case Sensitivity in PHP

In PHP, key words are case insensitive whereas variable names are case sensitive. Create an empty text file in your server root directory and save it as  casesensitivity.php  and then include the

Continue reading

PHP Tutorials – How to Include Comments in PHP

A comment is a line of code that is not supposed to be executed as part of the program. You can use a comment to show others what you are doing or to reminder yourself of what you did. A common occurrence

Continue reading

PHP Tutorials – PHP Syntax

PHP scripts can be placed anywhere inside an HTML document. You can place them at the beginning of your HTML, inside the HTML tags or at the end of the HTML document. In this tutorial we are going to

Continue reading

How to Create a PHP Abstract Class

An abstract class in PHP is special because it can not be instantiated. Instead, you typically inherit a set of base functionality from them in a new class. For that reason, they are commonly used as

Continue reading