PHP Basic Syntax or Basic Syntax Of PHP
Basic Syntax Of PHP: "Hello World" Script in PHP: To get a feel for PHP, first start with simple PHP scripts. Since "Hello, World!" is an essential example, first we will create a friendly little "Hello, World!" script. As mentioned earlier, PHP is embedded in HTML. That means that in amongst your normal HTML (or XHTML if you're cutting-edge) you'll have PHP statements like this:
It will produce following result:
Hello, World!
<html> <head> </head> <body> <p> <?php echo "Hello, World!"; ?> </p> </body> </html>
It will produce following result:
Hello, World!
PHP Basic Syntax or Basic Syntax Of PHP
Reviewed by Rajat Jha
on
12:39:00
Rating:
No comments: