Php Syntax

Php syntax is represent how to create php code in different scripting option.

Universal Acceptable php tag

If you use this style, you can be positive that your tags will always be correctly interpreted.

Example :-

Short hand php tag

Short tags are, as one might expect, the shortest option You must do one of two things to enable PHP to recognize the tags

Example :-

Script type php tage

HTML script tags look like this ?

Example :-