Posts

Showing posts with the label syntax

PHP Syntax

 PHP Syntax 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>