SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Freelance Web Designer KeithMcL's Avatar
    Join Date
    Oct 1999
    Location
    Dublin, Ireland
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Folks,

    Has anyone using phpAds gotten 2 different banners to display on the one page?

    I have managed to get it to display 2 different banners (each having a different bannerID), but for some strange reason when clicked the links bring the browser to a totally different bannerID site.

    On the top of the page I have this code:
    <?php
    $id = view("468x60");
    ?>

    and on the bottom I have this:
    <?php
    $arr = array(
    array("!=" => $id)
    );
    view("468x60", 0, "", 0, $arr);
    ?>

    If there's anyone ( Kevin) that can help, i'd really appreciate it.

  2. #2
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Sorry, I'm not familiar with phpAds, so your code doesn't mean a whole lot to me... Perhaps you could contact the author of the script?
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference

  3. #3
    AdSpeed.com Son Nguyen's Avatar
    Join Date
    Aug 2000
    Location
    Silicon Valley
    Posts
    2,241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm pretty sure that the problem is when the script sets cookie, maybe it doesn't know which image goes with which link.

    I experienced the same situation with my script, not with phpAd though!
    - Son Nguyen
    AdSpeed.com - Ad Serving and Ad Management Made Easy


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •