Category Archives: PHP Tutorials

Outputting HTML using PHP [+ Semicolons]

(from Full Article) Semicolons Semicolons are used extensively in PHP. The semicolon generally (there are exceptions) signifies the end of a PHP statement and should not be forgotten, otherwise unsightly errors will occur. An example will be shown in the Outputting HTML code using PHP section. Outputting HTML code using PHP Outputting HTML code using [...]

PHP Comments

(from Full Article) We place comments in PHP code to make the code more maintainable and readable. These comments will not be viewable to the public, only to the person editing the PHP file. To comment in PHP we should prefix ‘//’ to our comment, for example: <?php //This is our comment ?> We can [...]

Create a PHP File and Begin

(from Full Article) The first thing that all developers need to do is create a blank PHP page. This can be done by simply opening up Notepad and creating a new file – but instead of saving it with the ‘.txt’ affix, change it to ‘.php’. Alternatively, users that have dedicated editors such as Dreamweaver, [...]

Benefits of PHP

(from Full Article) PHP will reduce time to create and maintain medium to large websites – due to the pages being dynamic, only a small number of PHP pages will need to be created/edited which will allow the use of a Database (commonly MySQL), containing the websites’ content. The contents of the database are extracted [...]

Introduction to PHP, the basics. [Full Article]

Introductions Article Scope This article aims to express the basics, which a beginner should consider when learning PHP. It will explain how to create a very basic PHP page that will contain fundamental commands to PHP beginners. For this article, I will be using XAMPP to execute my PHP code – this is free to [...]