PHP Syntax
PHP Syntax
Example
- Default file extension for php code is ".php".
- .php file can have HTML tags, JavaScripts, PHP scripts.
- A PHP script can be placed anywhere in the page.
- <?php code hear ?>
- for print or display normaly userd "echo".
Example
<html>
<head>
</head>
<body>
<?php echo 'hello php!' ; ?>
</body>
</html>
Comments
Post a Comment