devan21 — 2014-05-30T15:14:42-04:00 — #1
been searching for quite some time and can't get an answer, please help me on this one.
I need to run a mySQL query for a classifieds website, now when displaying the ads on a page, I need to insert a google adsense ad
in between the SQL results, call it for every 10 items in the result, insert google adsense ad.
can this be done ?
mittineague — 2014-05-30T15:26:21-04:00 — #2
Not by using MySQL alone. What language are you using, PHP?
devan21 — 2014-05-30T15:49:33-04:00 — #3
My apologies for leaving that info out! blond moment, yes I'm using PHP.
thanks for the quick reply.
phoenixws — 2014-05-31T00:59:03-04:00 — #4
What code are you currently using to display the results of the classifieds?
devan21 — 2014-05-31T02:28:20-04:00 — #5
I'm using a pagination class.
phoenixws — 2014-05-31T16:48:57-04:00 — #6
could you post the code here or at least the part of the code that displays the classifieds?