PHP Basic

Syntax for PHP

Basic syntax for PHP are:


PHP Intro


PHP stands for Hypertext Preprocessor previously known as Personal Homepage was created in 1994 by Rasmus Lerdorf.
PHP is a server side scripting language used to make dynamic web pages.


Here we will learn how to install and run PHP on a local machine.
We have set up our local server depending upon our preferences.
Following are the servers:
LAMP : Linux, Apache, MySQL, PHP
MAMP : Mac, Apache, MySQL, PHP
WAMP : Windows, Apache, MySQL, PHP
XAMPP : x-os, Apache, MySQL, PHP, Perl

Now let’s get started and create a simple program based on PHP.