PHP Intro

PHP is Hypertext Preprocessor (PHP) is a server scripting language is use for making a web pages

PHP is an open source software it is free for use

PHP supports large range of databases like MySQL, Oracle, Sybase, Solid, PostgreSQL etc.

PHP File Extension

A PHP file consists of texts or HTML tags and scripts with a file extension of “.php”.

PHP code are executed on the server side and the result in to the browser as plain HTML

Use of PHP

  1. Using PHP coding we can generate dynamic pages content
  2. PHP can create, write, read, open, delete and close files on the server
  3. PHP can collect data from form
  4. PHP can insert, delete, update and delete data in your database.

Simple Example of PHP

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