Menu

Basic PHP Programming

PHP based programming must be started with <?php and must be ended with ?>

<?php -------- as you wish code here :) --------- ?>

Simple Example :

<?php echo "Hello World"; ?>

PHP basic rules :

‘echo’ is a basic function for ‘ write ‘ your code on browser page and its just can use for ‘one description’. ‘ echo ‘ cannot be use for array description array used to using ‘ print_r() ‘, string type only can be used with ‘ string here ‘ or ” string here “, we can combine PHP with HTML syntax (HTML on PHP). example;