PHP is one of the most popular server side scripting languages running today. It is used for creating dynamic webpages that interact with the user offering customized information.
PHP offers many advantages; it is fast, stable, secure, easy to use and open source (free).
1. It is open source:
You do not need to buy any license or copy to install PHP on your machine.
2. Huge Community support:
PHP community is very vast and solution for any technical problem can be found on internet, forum or blog. php.net is one of the most active community.
3. Database Connection:
Although PHP can work with any DBMS but it performs best with MySql and most codes are developed considering MySql in mind. Again MySql is opensource.
4. Works Great with HTML:
PHP can generate HTML, and HTML can pass information to PHP. They are interchangeable within the page! While PHP might add some new features to your site, its basic appearance is still all created with HTML.
5. Easy to Learn:
PHP is a lot easier to get started with than you might think. By learning just a few simple functions, you are able to do a lot of things with your website.