PHP Example HTML Javascript jQuery Ajax CSS Java MORE

PHP 7 Tutorial For Beginners

The PHP Hypertext Preprocessor (PHP) is a server scripting language, used for making dynamic web pages.

PHP is an open source software and it is free to download and use.

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

PHP File

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

PHP code are executed on the server, and the result is returned to the browser as plain HTML.

Use of PHP

  • By using PHP we can generate dynamic page content.
  • PHP can create, open, read, write, delete, and close files on the server.
  • PHP can collect form data.
  • PHP can insert, delete, update and delete data in your database.

Hello World Example Of PHP

Example

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