PHP Syntax and First Example

To start with PHP one should need few things that are as follows:
• Web host with PHP & My SQL support
• First install web server in your computer then install PHP & My SQL.

Syntax of PHP:

Save your file by naming the file of “.php” extension.
The simple starting example for PHP we can use as:


PHP stands for Hyper Text preprocessor

Leave a Comment