Introduction to PHP – Beginners Guide for Easy Learning

What is PHP?

Originally it was known as Personal Home Page, later it was changed to Hypertext Preprocessor.

  • PHP is a server side scripting language.
  • It is used to create dynamic and interactive websites.
  • It is also used in making web based software applications.

Why use PHP?

  • It is easy to use.
  • It is a cross – platform language i.e. Platform independent ( which can be programmed on one platform, “for ex : Windows” and can be operated on another, “for ex : Linux”)
  • It is free to use scripting language.
  • It is based on OOPs, which makes it popular among developers.

Websites made using PHP

Below listed some websites which has been made using PHP

  • Facebook
  • Yahoo
  • WordPress
  • Flickr

Setting up PHP in a system.

To setup PHP in a system we need three things: PHP, Database Software and a Server Software, after that we need to configure them.

Instead of installing these three individually a third party software can be installed which will contain all three mentioned above and these all will be pre-configured.

Examples of these software are: WAMP (Windows, Apache, MySQL and PHP) and XAMPP. Between the two given above, WAMP is only for windows as it contains windows in its name.

Syntax and a simple program in PHP

By default PHP can be written inside tags “<? php” and  “?>”, which can be changed by changing server configuration.




<title>A simple program in PHP </title>
              echo   “Hello world”; // Echo is used to print


We have a comprehensive series of articles for learning Website Development. Visit How to Web category articles for up-to-date articles. We will be adding other tutorials in PHP series. Stay tuned and do not forget to provide your valuable feedback and comments.



September 6, 2022 10:48 - Ejetoo <a href="">Udaousese</a>

September 6, 2022 11:09 - Afiusuwo <a href="">Aranata</a>

September 6, 2022 15:26 - Zuokoboga <a href="">Exuxofehi</a>

September 6, 2022 15:40 - Iitabu <a href="">Umarefuz</a>

September 6, 2022 17:30 - Idoleete <a href="">Ohxexin</a>

September 6, 2022 17:48 - Ifoeto <a href="">Obizle</a>

September 6, 2022 19:45 - Obapiw <a href="">Eojozu</a>

September 6, 2022 20:12 - Iduwebute <a href="">Epuduxbeg</a>

December 13, 2022 19:15 - Iqevub <a href="">Iqatiy</a>