» Tutorials » Basics of PHP

"Basics of PHP" is about PHP, one of the most popular Web programming languages in use today. This tutorial is aimed at those who want to learn PHP in their own, even if they don't have any previous programming or scripting experience.

Get Started »

Table of Contents

Chapter 1: Getting Started With PHP

This chapter introduces you to what PHP is all about and gives some simple examples to show how PHP is used inside a web page. Read more...

 

Chapter 2: Variables

In this chapter you will learn how to assign values to variables in PHP and use them in some simple expressions. Read more...

 

Chapter 3: Decisions and Loops

In this chapter you explore the various ways that you can write decision making and looping code in PHP. Read more...

 

Chapter 4: Functions

In this chapter you will learn how frequently used sections of code can be turned into reusable functions. Read more...

 

Chapter 5: Numeric Manipulations

In this chapter you will learn about some of the numeric manipulations you can perform in PHP. Read more...

 

Chapter 6: Strings

In this chapter you will learn about some of the powerful string functions that are included in the PHP language. Read more...

 

Chapter 7: Arrays

In this chapter you will learn how to use arrays in PHP to store and retrieve indexed data. Read more...

 

Chapter 8: Using Classes

In this chapter you will learn the basics of object-oriented PHP. Read more...

 

Chapter 9: HTML Forms

In this chapter you will learn how data entered in each type of form input is made available in a PHP script. Read more...

 

Chapter 10: Cookies and Sessions

This chapter examines two ways of passing data between pages of a website without requiring a form submission from one page to another. Read more...

 

Chapter 11: MySQL Database

In this chapter you will learn how to access a MySQL database from PHP. Read more...

 

Chapter 12: Error Handling

In this chapter you will learn how to deal with errors in PHP scripts effectively. Read more...