Develop a new think

PHP Syntax

PHP is denoted in the page with opening and closing tags, as follows:
<?php
?>

First Php page
<html>
<head>
<title>First page</title>
</head>
<body>

<?php
echo "hello, this is my first php code";
?>

</body>
</html>

Result:

hello, this is my first php code

Next: Variables

All links Introduction | Installation | Syntax | Variables | Strings | Operators | Comments
web counter