Hi,
As the title states, I need alot of thought help (regarding this message)
Scenario:
I have a database that is setup with two tables: A category and subcategory table. The database is setup correctly, working as expected.
I also have some php code to display the categories.
What I am trying to do with the php code, (being all too patient and having no success I will add).  is I want to link the categories to display the subcategories, then the subcategories will link to a custom page. Let me define the custom page:
Custom page = It will contain one line of php code that will output some advertisements and that one line of code is slightly different for each page. Plus I might use some java to do pagination on that page as well for the ads. I don't know what java pagination I will use, but I will definitely be using java, as php will run a muck on the one line of code previously mentioned.
How would I construct this code, and specifically, how would the custom page(s) be created? Could they be done dynamically? The idea is to have to create as few a pages as possible by hand (manually) as I will have several thousand subcategories so the links to the pages *should* be dyanmic, just how would I do that.
So far, I have a php page to output my categories data into adjustable columns, but links or custom page(s) are not set.
Please do help!
Thanks again!
Brian
__________________
Made2Own
|