PHP Tutorial

Welcome to PHP tutorial! This PHP tutorial helps you learn how to build interactive web sites and web applications using PHP.

PHP is one of the most popular programming languages for web development. PHP is a rich language and it is easy to learn. Using PHP, you can develop various kinds of web applications such asĀ  simple contact form, blog, content management system (CMS) and even social networking apps.

The PHP tutorial section is designed to help anyone who is just starting out with PHP programming. If you have experience in other web programming such as C#/ASP.NET, JSP, Perl or Python, you can learn PHP very quickly.

It would be faster to learn PHP if you already have some knowledge of other web technologies such as HTML, CSS and JavaScript. In addition, the website and web applications need to store their data in the databases therefore it would be great if you have some knowledge of databases and SQL.

Getting started with PHP

First, let’s get started with PHP by going through a brief introduction to PHP.

Basic PHP tutorial

The basic PHP tutorial section helps you build a solid PHP foundation and teaches you how to apply PHP effectively.

PHP Object-oriented Programming

This section introduces you the PHP object-oriented programming (OOP), which is a great way to create modular and reusable code. PHP introduced the OOP concept from version 5, and a lot of object-oriented programming features has been added since then. We will explore each feature in each concise and easy-to-follow tutorial with code examples.

PHP Forms

This section helps you learn how to build interactive web forms with PHP. We will show you practical techniques such as handling form fields, validating form data and to uploading file to the web server.

PHP File I/O

The PHP File I/O section covers the common file operations such as opening files, closing files, reading from files, writing to files, checking files exist, copying files, renaming files, deleting files, etc. It also discusses about how to handle common file formats including text and CSV files.