Pages

PHP Syntax

PHP Syntax

A PHP script can be placed anywhere in the document.
A PHP script starts with <?php and ends with ?>:


Example


<!DOCTYPE html>
<html>
<body>

<h1>My first PHP page</h1>
<?php
echo "Hello World!";
?>


</body>
</html>

No comments:

Flag Counter
| Copyright © 2013 Remote Tutor