Skip to main content

How To Declare Variable and hello word in php ?



    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

Popular posts from this blog

Download PHP Full Source Code Free Template. How to Download Free Responsive Website Templates

  * Important Note To Download Templates * 1. Conceptual Simplicity :  As the information is represented in form of tree structure, it is easy to view, understand, and retrieve the data. This helps the database designer to obtain conceptual clarity of relationship.  2.. Database security :  Security is provided by DBMS. Thus Programming effort is decreased as compared to file system in which programmer has to write the programs for implementing security.  3. Data independence :  If changes are made in design of database, DBMS takes care of cascading it throughout the system. There is no need to make change in system. * Limitation of Download Templates * 1. Complexity :  To implement the database using hierarchical model. programmer needs to have detailed knowledge of how the data is’ stored has to traverse entire tree for the same.  2. Data Redundancy :  To implement many to many ‘relationships amongst data repeatition of data is required. T...

Advantage and Disadvantage Of PHP Limitation of PHP

               *  ADVANTAGE OF PHP HIERARCHICAL DATATABLE MODELS * 1. Conceptual Simplicity :  As the information is represented in form of tree structure, it is easy to view, understand, and retrieve the data. This helps the database designer to obtain conceptual clarity of relationship.  2.. Database security :  Security is provided by DBMS. Thus Programming effort is decreased  compared to file system in which programmer has to write the programs for implementing security.  3. Data independence :  If changes are made in design of database, DBMS takes care of cascading it throughout the system. There is no need to make change in system.  * DISADVANTAGE OF PHP HIERARCHICAL DATABASE MODELS  * 1. Complexity :  To implement the database using hierarchical model. programmer needs to have detailed knowledge of how the data is’ stored has to traverse entire tree for the same.  2. Data Redundan...

What Is PHP ??

  PHP is a best Language of Website Development. There are many country and colleges are accepted php language. php in many library and function are used. That main language of website development php starting simple syntax and example. so start in few days to learn php.   to generate any system and dynamic working are possible throw a php.  there are following keyword of php.