Jump to content

need help with include into display results


rhock_95

Recommended Posts

I'm thinking this can be done script-side rather than in the database itself...

 

here's what I need help with...I have a script that displays a list of contacts when a category is selected...the results are displayed in a list with pagination ... a typical row (display code) looks like this:

 

echo '  <td>'.$data['phone'].'&nbsp</td>';

 

What I would like to do is is have a "Google AdSense" text ad be displayed after X amount of displayed rows...can I use php to include() the Adsense code in this manner?...If this is possible, can someone post an example of how the display counts the rows and includes the ad file.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.