PHP Basic Tutorial

In this tutorial I am going to teach you basic of PHP programming.

For developing PHP website you need below Softwares:

  1. Text Editor
  2. XAMPP - This will be our web server. This is were we will be saving our website files and save our data to the database.
  3. Web Browser
Example1:
<html>
    <head>
    <title>My first PHP Website</title>
    </head>
    <body>
        <?php
            echo "<p>Hello World!</p>";
        ?>
    </body>
</html>
 
Note: copy paste the above code in your text editor and save your
    file with extension .php now copy your folder in xampp/htdocs 
    folder now open your browser and type localhost\your_folder_name 
    and press enter.

Post a Comment

0 Comments