Syntax of PHP

Syntax for PHP Code
PHP is a popular general-purpose scripting language that is especially suited to web development.Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

Syntax of the PHP:
<html>
<head>
<title>Syntax Of PHP</title>
</head>
<body>
<?php
Your Codes goes Here
?>
</body>
</html>

Short open Tags:
The short tags must be open with. Short style tags are only available when they are enabled in php.ini configuration file on servers.
<?
echo "Short PHP Tag";
?>

HTML Script Tags:
<script language="php">
echo "HTML Script Tag":
</script>

ASP Style Tags:
The ASP Style tags must be open with <% and end with %>.ASP style tags are only available when they are enabled in php.ini configuration file on servers.
<% echo "ASP Style Tag"; %>
Copyright Labw3