Top Ad unit 728 × 90

ticker

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:


<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: 5

No comments:

All Rights Reserved by INFO PHP 99 © 2014 - 2015
Powered by Blogger, Designed by Sweetheme

Contact Form

Name

Email *

Message *

Powered by Blogger.