How To Use PHP Syntax
In this article I am going to explain use PHP Syntax.
Use PHP Syntax
PHP script is start <?php and ends with ?>.It is use anywhere.
On servers with shorthand-support, we can start a PHP script with <? and end with ?>.
PHP is used .php extension.
A php file contains HTML Tag.
echo "Welcome in DotNetHeaven";
Define a code
PHP must end code line with a semicolon.
There are two basic statements to output text with PHP: echo and print.
we have used the echo statement to output the text "Welcome in DotNetHeaven".
block in PHP
You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here