PHP BASIC SYNTAX - PHP LESSON 2 STUDENTSBLOG100


Php scripts will be executed in the server and the result will be displayed in the browser at HTML format.

The php scripts must be started by <?php tag and ends with ?> tag

Example:

Output:
  • In php, each statements must be terminated by semicolon,that is
  • The output keyword is echo,The words which are given after echo will be printed in the output window.

HTML along with PHP:


Output:

Html Html Html

php php php

Lesson 1 Previous | Main Page | Next Lesson 3

Previous
Next Post »