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.


<!DOCTYPE html> <html> <body> <?php echo "My first PHP script!"; ?> </body> </html>
Run example »
Click on the "Run example" button to see how it works. Start learning PHP now!

PHP 5 References

At W3Schools you will find complete references of all PHP functions: Array functions Calendar functions Date functions Directory functions Error functions Filesystem functions Filter functions FTP functions HTTP functions LibXML functions Mail functions Math functions Misc functions MySQLi functions SimpleXML functions String functions XML Parser functions Zip functions