Quote:
Originally Posted by sully02
I'm not using phpAdsNew, it's an affiliate program, like AdSense, where the stats are kept on their site. I get the code for the Flash Buttons, and I need to get them on my site. The creation of a separate table seems like a good idea. If I read it right, all I'd need are two columns... One for the forumid, and another for the HTML code for the ad, correct?
|
In that case, yes, that is correct. A separate table, and no need for a "join". Just create a new script to return the HTML code for each forum id. This script can be called from the hooks in forumdisplay and showthread, something like, $ThisForumHTMLCode = GetMeMyHTMLCode($forumid); and put $ThisForumHTMLCode in the forum display and showthread templates.