Hii Guys Today We are Talking about of php variable Declaration and sinple print message and calculate simple sum of two numbers. php is very powerfull language to compare other language. so. lests start and see full tutorial.
1.0 Start PHP
* PHP code always start <?php word throw start and close php code ?> keyword. the following syntax throw start php working.
------------------------------------------------------------------------------
| <?php // start php
| //write the code.....
| ?> //end php
------------------------------------------------------------------------------
* the php required start php and end php.
1.2 Message and Text Display
* The"echo" keyword throw Display Any Text and message or variable. the following syntaxt and example throw display any message and content.
* The php in mainly use echo word to show variable value.
* echo keyword is each and every program in very important .
------------------------------------------------------------------------------
| <?php // start php
| echo "write a message"; //write the message.
| ?> //end php
------------------------------------------------------------------------------
Comments
Post a Comment