You want to develop a webpage (or website); you can simply choose HTML as a programming language. But using only HTML, you can create a static web page not dynamic. The contents of the static webpage remain same every time the page displays in the browser. To create a dynamic web page, you have to embed some other programming language with HTML, like PHP.  PHP is a scripting language which is used to develop a dynamic web page.

PHP is a server side scripting language which is used to create dynamic web page. The long form of PHP is “PHP: Hypertext Preprocessor”, which is recursive.

PHP files can contain text, HTML, CSS, JavaScript, and PHP code. PHP codes are executed on the server, and the result is returned to the browser as plain HTML. PHP files have extension “.php”.

A scripting language is a language that interprets scripts at runtime. Scripts are usually embedded into other software environments. The purpose of the scripts is usually to enhance the performance or perform routine tasks for an application. Server side scripts are interpreted on the server while client side scripts are interpreted by the client application. PHP is a server side script that is interpreted on the server while JavaScript is an example of a client side script that is interpreted by the client browser. Both PHP and JavaScript can be embedded into HTML pages.

The best thing in using PHP is that it is extremely simple for a beginners, but offers many advanced features for a professional programmer.
PHP is widely used with big MNCs including Yahoo, Facebook, IBM, Accenture, Deloitte, HP etc.

Why PHP?

  • PHP runs on various platforms like Windows, Linux, Unix, Mac OS X, etc.
  • It is compatible with almost all servers like Apache, IIS, etc.
  • It supports many databases like MySQL, PostgreSQL, Oracle etc.
  • PHP is free. It can be Downloaded from the official
  • It is easy to learn and runs efficiently on the server side.