Sunday, August 26, 2012

PHP Tutorial From beginner to master


PHP Syntax  
PHP code is executed on the server, and the plain HTML result is sent to the browser.  
Basic  PHP Syntax 
A PHP scripting block always starts with <?php   and ends with  ?> . A PHP scripting block can 
be placed anywhere in the document. 
On servers with shorthand support enabled you can start a scripting block with <? and end 
with ?>. 

For maximum compatibility, we recommend that you use the standard form (<?php) rather 
than the shorthand form. 

No comments:

Post a Comment