Steve,
I'm not quite sure what you are saying in your post.
When using the click.php as-is, I was getting a db error when clicking on a banner, saying the column "bid" was not found in the table.
I assumed that this was to do with the following line in click.php:
Code:
$DB_site->query("INSERT INTO userclicks (userid, bid, clicks) VALUES ('$boarduser', '$bid', '1')");
Specifically the "(userid, bid, clicks)" - I have limited php knowledge, but I figured that this might have been the reason for the db error because the column is called "bannerid" and not "bin".
Please correct me if what I have done is wrong and/or might cause instabilities.
Thanks
- Omar