I'm sure that by the end of this tutorial you will have enough knowledge to build your own database
driven website using PHP & MySQL. Of course this tutorialis not perfect. So if you have any
critiques, question, problem or suggestion pleaselet me know.
1.Installing Apache PHP a nd MySQL
In case you haven't installed the trio yetdon't skip this section. This page explains about
installing Apache, PHP and MySQL on Windows plus some images to make things clearer. It
also covers modifying Apache configuration and PHP configuration so the two can work
Give you enough to get started. First, you will learn how to open and close PHP blocks,
continued with using comments, a brief explanation about PHP variables and types. Then
you'll learn about manipulating strings, control structures, functions and how to use web
You will learn about starting MySQL, adding new MySQL user, creating a database and
tables. Then you'll learn about the SQL queries to insert data,get the data, update and delete.
4.Connecting to MySQL database
This is where you start to put PHP and MySQL together. This page explains how to open and
close MySQL connection with PHP.
5.Creating a MySQL database
Obviously you will need to create your database first. This part explains how to create
MySQL database and table through PHP
7.Getting The Data
Once you have the dat a stored in the database surely you want to get it back. This page
explains how to get your data out of MySQL plus how to convert your query result into
This one explains how to show your query result into multiple pages and how to create the
navigation link. Also show the problem that might happen when using paging and the
9.Update and Delete
Explains how to update and delete your data and how to use table locking to prevent
violation of data integrity.
This one explains how to validate HTML form on server side using PHP plus client side form
12.Creating a Guestbook
Guestbook is one of the most common feature for a website and this tutorial will teach you
how to create your own guestbook using PHP and MySQL. It also explain how to use PHP
functions to prevent code injection and the use of paging.
14.Creating a Content Management System (CMS)
Content Management System is getting more and more popular by the day. This tuto rial
explains how to create a simple CMS, how to add, modify and delete content using web
This part explain three methods of authenticating a user. T he first is hardcoding the user info
in the script itself. The second one check for the user id and password in database. The third
one add an random number verification.
Now bringing you back...
Does that email address look wrong? Try again with a different email.