PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
With our online "PHP Tryit" editor, you can edit the PHP code, and click on a button to view the result.
Click on the "Try it Yourself" button to see how it works.
Many chapters in this tutorial end with an exercise where you can check you level of knowledge.
Learn by examples! This tutorial supplements all explanations with clarifying examples.
Learn by taking a quiz! This quiz will give you a signal of how much you know, or do not know, about PHP.
Track your progress with the free "My Learning" program here at W3Schools.
Log in to your account, and start earning points!
This is an optional feature. You can study at W3Schools without using My Learning.
W3Schools' PHP reference contains different categories of all PHP functions, keywords and constants, along with examples.
Get certified by completing the course