Tutorial PHP



PHP Tutorial 01

PHP is a programming language that's used mostly for building web sites. Instead of a PHP program running on a desktop computer for the use of one person, it typically runs on a web server and is accessed by lots of people using web browsers on their own computers. For more information about PHP, read this tutorial.

[ download ]

PHP Tutorial 02

In this section you will be introduced with some rules in PHP coding. How to begin and end up the code and others are included.

[ download ]

PHP Tutorial 03

Like other programming languages, there are some operators in PHP. What are they? You can find the answer in this tutorial, including how to use them.

[ download ]




PHP Tutorial 04

PHP is a modular programming. You can use include and require statement to improve your web page's performance. Read this tutorial for more explanation of using these statements.

[ download ]

PHP Tutorial 05

Arrays are collections of related values, such as the data submitted from a form, the names of students in a class, or the populations of a list of cities. This tutorial shows you how to work with arrays.

[ download ]

PHP Tutorial 06

PHP supports a number of traditional programming constructs for controlling the flow of execution of a program. Conditional statements, such as if/else and switch, allow a program to execute different pieces of code, or none at all, depending on some condition. Loops, such as while and for, support the repeated execution of particular segments of code. Read this tutorial for more details.

[ download ]


PHP Tutorial 07

It's easy to process forms with PHP. There are many tricks and techniques for working with forms, though, which are described in this tutorial.
 
[ download ]

PHP Tutorial 08

This tutorial shows the difference between POST and GET method.

[ download ]

PHP Tutorial 09

A function is a named block of code that performs a specific task, possibly acting upon a set of values given to it, or parameters, and possibly returning a single value. You can find more information about creating PHP functions in this chapter.

[ download ]


PHP Tutorial 10

The data storage destination of choice for a web application is a database. That doesn't mean that you're completely off the hook from dealing with regular old files, though. Plain text files are still a handy, universal way to exchange some kinds of information. This tutorial will guide you to proceed plain text files with PHP.

[ download ]

PHP Tutorial 11

This tutorial shows the many ways to write strings in your programs, including the sometimes-tricky subject of interpolation (placing a variable's value into a string), then covers functions for changing, quoting, and searching strings.

[ download ]

PHP Tutorial 12

Dates and times are all over the place in a web application. In a shopping cart, you need to handle shipping dates of products. In a forum, you need to keep track of when messages are posted, and many more. Find out how to format dates and times in PHP with this tutorial.

[ download ]