At present I have limited PHP in my site and I was looking at how much work is needed to stuff it into a database. The only part that makes sense is the ads where I am currently just enumerating everything as an array in PHP for want of a dispenser.
Any code available that already resembled my thinking?
Ultimately I wanted to make the ad tool a more powerful object capable of selecting ads for size etc.
Stuffing my site into MySQL
Moderator: General Moderators
Stuffing my site into MySQL
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
My site is powered by LAMP
Re: Stuffing my site into MySQL
Please rewrite your question, before you click "submit" read it a few times to make sure that what you wrote makes sense to you. Honestly, I have no idea of what you are talking about.
... try a little harder to express yourself properly.
what does that mean?Limited PHP
Do you really expect an answer in days, hours, minutes...How much work?
You lost me!stuff it into a database
what ads?the only part that makes sense is the ads
... try a little harder to express yourself properly.
Re: Stuffing my site into MySQL
I have about 30 lines of PHP in the site, all todo with either the ads or Goggle Analytics which is stuffed in a separate file to simply revisions.
I was considering moving my ads into MySQL and then select the relevant ad for the site. I have not seen much floating around after using Google a few times to find code examples.
At present I am using a PHP file with the code inside it. It is a simple array that holds the ad code and there is a random number to select which ad is shown, pretty basic right now.
I was considering moving my ads into MySQL and then select the relevant ad for the site. I have not seen much floating around after using Google a few times to find code examples.
At present I am using a PHP file with the code inside it. It is a simple array that holds the ad code and there is a random number to select which ad is shown, pretty basic right now.
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
My site is powered by LAMP
Re: Stuffing my site into MySQL
You can use OpenX (known as OpenAds and phpAdsNew before that) for the ads. really powerful tool.