Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Building an advertising system with PHP (Part 2)
Dec 05, 2005 @ 08:15:45

From PHPit.net today, there's Part Two of their "Building an advertising system with PHP" series.

Welcome to part 2 of the "Building an advertising system with PHP" series. In the previous part I have shown you how to set up our basic advertising system, and how the JavaScript works. If you haven't read that part yet, I highly suggest you do that before reading this part.

In this part we'll be making our advertising system slightly more advanced, and move from using files to a MySQL database. We'll also add a management page for our ads, and two new features (priority ads and different types of ads). Let's start with moving to a database.

Some of the new features they ad include weighted ads (priority) and different types of ads (such as a 468x60 banner and a 250x250 cube). They wrap it all up with a page that helps you manage the ads with the standard add/edit/delete functionality...

tagged: advertising system part two advertising system part two