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

Learn Python How To install Python ?

  * Traditional File System   : The information system can be either a conventional file processing or a database system. file is a collection of related information with name assigned to it. File processing is the first attempt to computerize the manual system. file can be organized using folders. File system considered as a very primitive kind of   database management system as it allows us to store the data. Data in most organization is stored in the form of files and folders. For example list of student can be stored in a text file or in a spreadsheet. In convention file processing system, each and very subsystem of the information system will have its own set of files. As a result, there will be duplication of data between various     subsystem   of the     information system. For example , a file folder in   office of school   clert might contain student data organized as one file folder for each standard , which is turn will h...

What Is Java How to start Java programming ??

-> there are following feature are required to learn java. * Basic introduction of mysql database. DBMS     (DATABASE  MANAGEMENT  SYSTEM)   : The conventional file processing system had many drawbacks. Hence, an alternate system,   i.e.   database system, which was based on database approach, was desired because it would eliminate all the drawbacks of conventional file processing system. To define the database system   following terms are required:          FILE          DATABASE          DATABASE MANAGEMENT SYSTEM     File is a two dimensional table summarizing the multiple instances of asset of field of an entity. Database is a collection of interrelated data files, while database management system is a computer program that allows storing, organizing and accessing a collection...