PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
This book is a tutorial. Its aim is to teach C to a beginner, but with enough of the details so as not be outgrown as the years go. It presumes that you have some previous aquaintance with programming — you need to know what a variable is and what a function is — but you do not need much experience.
PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
PHP 7 is the latest stable release.
Easy Learning with 'PHP Tryit'
With our online 'PHP Tryit' editor, you can edit the PHP code, and click on a button to view the result.
Example
<!DOCTYPE html>
<html>
<body>
<?php
echo 'My first PHP script!';
?>
</body>
</html>
Try it Yourself »<html>
<body>
<?php
echo 'My first PHP script!';
?>
</body>
</html>
Click on the 'Try it Yourself' button to see how it works.
Start learning PHP now!PHP Exercises
PHP Examples
Learn by examples! This tutorial supplements all explanations with clarifying examples.
PHP References
W3Schools' PHP reference contains different categories of all PHP functions and constants, along with examples.
PHP Quiz Test
Test your PHP skills at W3Schools!
PHP Exam - Get Your Diploma!
W3Schools' Online Certification
The perfect solution for professionals who need to balance work, family, and career building.
More than 25 000 certificates already issued!
The HTML Certificate documents your knowledge of HTML.
The CSS Certificate documents your knowledge of advanced CSS.
Php Tutorial Pdf Download
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The Python Certificate documents your knowledge of Python.
The jQuery Certificate documents your knowledge of jQuery.
The SQL Certificate documents your knowledge of SQL.
The PHP Certificate documents your knowledge of PHP and MySQL.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The Bootstrap Certificate documents your knowledge of the Bootstrap framework.