PHP Tutorial PHP Advanced PHP Resources
Python Java C++ C C# PHP R SQL DS Algo InterviewQ

PHP - Tutorial



PHP stands for Hypertext Preprocessor. It is an interpreted server-side scripting language that is used for creating dynamic and interactive web page. It is also used for developing web based software applications. PHP is an open source scripting language which makes it one of the most used language in web development. It can set cookies of a website and restrict access of some web page of your website. It can also handle forms, file I/O and interact with databases.

About Tutorial

This tutorial provides basic and advanced concepts of PHP. It is designed for beginners and professionals as well. Every topic is explained with lots of examples which make you learn PHP in a very easy way. This tutorial includes all topics of PHP which includes arrays, strings, functions, control statements, file I/O, form handling and object oriented programming. If you are new to HTML, then it is highly recommended to go through HTML tutorials first. Along with this, almost all examples can be executed online which provides better understanding of the language and helps you to learn the language faster. The classical "Hello World" example is mentioned below for the illustration purpose:

<?php
// Hello World Example
echo "Hello World!.";
?>

The output of the above code will be:

Hello World!.

Prerequisite

Before learning PHP, It is highly recommended to go through HTML tutorials first if you are new to HTML. A prior exposure of any programming language would be an added advantage while following this tutorial but it is designed in such a way that anyone can start from scratch.


4