In our last PHP Ad Tracker lesson, we constructed the database tables for our ad banner application.
Now we are ready to construct the data object that will hold the variables and functions that will display, add, edit and delete the data in those tables.
Once we name all of the variables and functions, we will start applying the code to them.
Variables:
The data object class will hold two variables: one to hold the banner ad ID number from the ads table, and one to hold the database connection information.
|