PHP Tutorial

PHP to make your website dynamic!

Knowledge Required This tutorial covers basic terms of PHP. However, some elementary HTML knowledge would be very useful for you. If you don't have any prior HTML experience you can go through the HTML Tutorial first.

Apart from elementary HTML Knowledge, this tutorial assumes that you know nothing about PHP.

Objective of Tutorial
This tutorial would give you a basic knowledge of PHP. After completion of this tutorial you would be able to

  • Dynamically output web content.
  • Do complex calculation and based on that output web content
  • Accept input from user, do calculation and then display relevant web content
  • Remember a user from one page to another
  • Remember a user's previous visit to your website

See a sample running example of PHP. You would be able to write this page and do much more by yourself !!

You would however, still not be able to do SQL operations and would not be able to store any value in database. For that we need MySQL Tutorial.

Lastly, wherever possible, the output of a PHP code example is given adjacent to the code itself. This would help you what comes when.

Happy Learning!