PHP Tutorial – Table of contents

2014 年 9 月 10 日4140

PHP Tutorial - Table of contents

Introduction

A brief introduction to the tutorial and what you can expect to learn.

Lesson 1: What is PHP

A little on how PHP works, what it means that PHP is a server-side technology, and what you will learn in the next lessons.

Lesson 2: Servers

We look at different options to run PHP on your own computer or on a web host.

Lesson 3: Your first PHP page

In this lesson, you create your first very simple PHP page. Here, you can also test whether your server is set up properly to run PHP.

Lesson 4: Working with time and dates

Introduction to functions that can be used in work with time and dates.

Lesson 5: Loops

Loops can repeat parts of a script. In this lesson, we look at loops such as while and for.

Lesson 6: Conditions

Conditions can be used to control the execution of a PHP script. We look at if ... elseif ... else... and switch ... case.

Lesson 7: Comment your scripts

Comments make your PHP scripts more clear and easier to understand. Comments can be a great help if you or someone else needs to make changes in your codes at later stage.

Lesson 8: Arrays

In this lesson, you will learn what an array is, how it is used, and what it can do.

Lesson 9: Functions

In previous lessons, you have learned to use different, built-in functions. Now you will learn how to create your own functions.

Lesson 10: Passing variables in a URL

Learn how to pass variables and values from one page to another using the HTTP query string.

Lesson 11: Passing form variables

Interactive websites require input from users. One of the most common ways to get input is using forms.

Lesson 12: Sessions

Sessions can be used to store and retrieve information during a user's visit on your site.

Lesson 13: Cookies

Cookies can be used to store and retrieve information about a user from visit to visit.

Lesson 14: Filesystem

With the filesystem, you can access the server's filesystem. This allows you to manipulate files, folders and drives with PHP scripts.

Lesson 15: Reading from a text file

In this lesson, we will use the filesystem to read from a text file. Text files can be very useful to store data of various kinds.

Lesson 16: Writing to a text file

This lesson is about how to write to a text file using the filesystem. Text files can be very useful to store various kinds of data.

Lesson 17: Databases

In this tutorial, we use the MySQL database. MySQL is the natural place to start when you want to use databases in PHP.

Lesson 18: Create databases and tables

In this lesson, we look at two ways to create databases and tables. First, how it is done in PHP, and then how it's made with the more user-friendly tool: PhpMyAdmin.

Lesson 19: Insert data into a database

Learn how to use SQL statements to insert data into a database. We also look at data types and the most common beginner mistakes.

Lesson 20: Retrieve data from a database

Learn how to use an SQL query to retrieve data from a database.

Lesson 21: Delete data from a database

Learn how to delete records from a database using SQL.

Lesson 22: Update data in a database

In this last lesson, you will learn how to update data using an SQL statement.



Introduction >>

0 0