Skip to main content

More Clear descroption about php language

What is the main part of php and why you should learn Php?
 
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

First Php program for self practice!

<!DOCTYPE html>
  <html>
    <body> 

       <?php
            echo "This is my first PHP  program !";
        ?>

   </body>
 
</html>  


 Now first open a notepad or notepad++ or Dreamweaver and copy this code and try to save this with extension .php using wampor xamp  server, inside C:/ drive folder www and ,
if you do not have wamp server please download this and install first and then , open the and see in your taskbar in right side below  , and open PHPMYADMIN , here you click and open your saved file inside your folder there you saved you php first program


Comments

Popular posts from this blog

How can make a comment in php?

Comments: In PHP code, Comment is a line that is not executed but it helps to other to understand what are you doing in program and why you are using the comment line or it's work as a  reminder to know what you did in the program last time.      But there is many types of comment line like single line and multi line comments:  Example for Single line comment:   <?php     echo "<p>Hello my Friends</p>";   //This is a single-line comment   echo "<p>You will be a good please read all my blogs</p>"; ?> Here is another exaple of Multiple line comment "  example : <!--          --> <?php      <!--   echo "<p>Hello my Friends</p>";     echo "<p>Hello my Friends</p>"; -->        echo "<p>Hello my Friends</p>";     echo "<p>Hello my Friend...

Apache Hadoop

What Is Apache Hadoop? The Apache   Hadoop project develops open-source software for reliable, scalable, distributed computing. The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage. Rather than rely on hardware to deliver high-availability, the library itself is designed to detect and handle failures at the application layer, so delivering a highly-available service on top of a cluster of computers, each of which may be prone to failures. The project includes these modules: ·          Hadoop Common : The common utilities that support the other Hadoop modules. ·          Hadoop Distributed File System (HDFS) : A distributed file system that provides high-thr...

TWO DIMENSIONAL DATA IN TABULAOR FORM

Now Friends if your concept about array is cleared  so now  we can try to excute this 2D array in tabular form , that we clearly  understand  how data stores in an array  This is very easy concept I am sharing  to understand  how can we store the data in 2D array . For example:  <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>2D array</title> </head> <body> <?php error_reporting(0); $x=array( data_1=>array('name'=>'suraj kumar', 'dob'=> '20.10.1980', 'age'=> '30','salary'=>50000), data_2=>array('name'=>'Amit kumar', 'dob'=> '22.1.1990', 'age'=> '30','salary'=>40000), data_3=>array('name'=>'pankaj kumar', 'dob'=> '02.12.1990', 'age'=> '30','salary'=>20000), data...