Topics in PHP

PHP Echo/Print

Echo and print are both used to print the output data on the screen. The print statement is used as an alternative to echo many times. PHP Echo/Print Statement Even though echo and print statements serve the same purpose, there are certain differences between them. In this article, the reader will be able to demarcate […]

PHP Variables

Just like other programming languages, PHP has variables and constants. A variable is a storage space paired with an associated symbolic name that stores a particular value. All PHP variables start with the $ (dollar) sign, followed by the name of the variable. This article explains the usage of variables in a block of PHP […]

PHP Comments

Comments in PHP are similar to the comments used in HTML. A comment in PHP code is the non-executable part of the PHP program. But comments are handy. They can be read by someone who is editing the code, a developer working on her fellow teammate’s code, or even an amateur coder who is just […]

PHP Syntax

A PHP file contains HTML tags with some PHP code. It is straightforward to create the PHP file. First, create a file and write PHP + HTML Code. A PHP script executes on the server and returns the HTML result to the browser. Read Also: How to Install PHP on Windows 10 Basic PHP Syntax The main […]

PHP Installation

Installing PHP on your local machine allows you to safely create and test a web application without affecting the data on your live website. This article describes the complete PHP installation. If your server supports PHP, then you do not need to do anything. Just create your PHP files, put them in your Web Directory, […]