Learn PHP
PHP is a powerful server-side scripting language for making dynamic and interactive Web pages.
PHP is widely-used, open-source and free.
PHP is easy to learn - You will enjoy it!
Easy Learning with an online editor
With the online 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>
Run the code to see how it works.
PHP Exercises
Most chapters in this tutorial end with exercises where you can check your knowledge.
PHP Examples
Learn by examples! This tutorial supplements all explanations with clarifying examples.
PHP References
the PHP reference contains different categories of all PHP functions, keywords and constants, along with examples.
Array Calendar Date Directory Error Exception Filesystem Filter FTP JSON Keywords Libxml Mail Math Misc MySQLi Network Output Control RegEx SimpleXML Stream String Var Handling XML Parser Zip Timezones