What is PHP

  • PHP is a recursive acronym for "PHP: Hypertext Preprocessor".
  • PHP is a server side scripting language. that is used to develop Static websites or Dynamic websites or Web applications.
  • PHP is an open-source, interpreted, and object-oriented scripting language that can be executed at the server-side.
  • PHP scripts are executed on the server.
  • PHP can add, delete, modify data in your database.
  • PHP files have extension ".php"
  • PHP costs nothing, it is free to download and use.

 

Example of PHP : 

<!DOCTYPE html>
<html>
<body>

<?php  echo "My first PHP Code!";  ?>

</body>
</html>

 

What You should already Know

Before you continue, you have little bit knowledge of the following:

  1. HTML
  2. CSS
  3. JavaScript