THE WORLD'S LARGEST WEB DEVELOPER SITE

PHP 5 Tutorial




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.



Easy Learning with "Show PHP"

Our "Show PHP" tool makes it easy to learn PHP, it shows both the PHP source code and the HTML output of the code.

Example

<!DOCTYPE html>
<html>
<body>

<?php
echo "My first PHP script!";

?>

</body>
</html>

Click on the "Run example" button to see how it works.

Start learning PHP now!










HtML Exam - Get Your Diploma!

w3schools

W3Schools' Online Certification

The perfect solution for professionals who need to balance work, family, and career building.

More than 10 000 certificates already issued!

TheHTML Certificatedocuments your knowledge of HTML

TheCSS Certificatedocuments your knowledge of advanced CSS.

TheJavaScript Certificatedocuments your knowledge of JavaScript and HTML DOM.

ThejQuery Certificatedocuments your knowledge of jQuery.

ThePHP Certificatedocuments your knowledge of PHP and SQL (MySQL).

TheXML Certificatedocuments your knowledge of XML, XML DOM and XSLT.

TheBooststrap Certificatedocuments your knowledge of the Bootstrap framework.

W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic understanding. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 1999-2018 by Refsnes Data. All Rights Reserved. Powered by W3.CSS.