PHP Introduction

Home > PHP > PHP Introduction

PHP Introduction

Introduction :

PHP stands for "Hypertext Preprocessor". It's original name was "Personal Home Page". PHP is the scripting language which is used to create dynamic web pages and applications. It is server side scripting language which is easily embadded with HTML Code. php file must be save as .php file extension. It is interpreted language so it never require for compilation.

Prerequisite :

It you want to create any web application using php, you must have to know about the HTML, CSS and JavaScript. These all are the most important technology to create attractive web application. Let's discuss in short of all these things.

  • HTML : HTML stands for Hypertext Markup Language. It is the standard markup language to create static web pages. Using HTML we can describe the structure of web pages.

  • CSS : CSS stands for Cascading Style Sheets. Using CSS you can apply styles for your web page. you can make your html element more attaractive. In short you can make design your web page using CSS

  • JavaScript: Javascript is a client side as well server side scripting language which is used to make html content dynamic.

Advantages of PHP

  • PHP is Open Source Scripting Language and doesn't need to purchase any licence for development.
  • PHP is very easy language to learn compared with other. A lot of ready made code and scripts are freely avaialable in market so, you can easily use theme in your project or get some help from them.
  • PHP can be integrated with many popular databases like MySQL, Oracle, Microsoft SQL Server, PostgreSQL, Sybase, and Informix etc.
  • PHP is used to perform various tasks like handling form data, creating dynamic page content, managing databases, and interacting with servers.

Basic PHP Syntex

  • PHP file normally containes HTML Tags like HTML file and PHP scripting Code.
  • We can place PHP scripting block anywhere in HTML document.. 

<html>
    <head></head>
    <body>
        <?php 
            echo "Hello World";
        ?>
    </body>
</html>

Comments

Riddhish Parmar Hi There,
Thank You For Sharing Your Knowledge.
I Want To Learn PHP From Beginning So Please Share All The Things About Php.
Thank You So Much!!

Write Your comment bellow. We will contact you soon.

Related Posts

How to run PHP code in XAMPP?

How to run PHP code in XAMPP?

In this tutorial we well see, how to execute PHP code in local server using XAMPP. in windows local system. For that we have to follow the following steps to run PHP Code or PHP Script. Ins

Subscribe to our newsletter

Stay up-to-date about latest Tutorial and Posts. Unsubscribe at anytime!