Hmm why use an iframe?
You could just use a global ;)
sub { $DB->table('Table')->update( { HitCount => \'HitCount + 1' }, { LinkID => $_[0] } ) }
Thats all you need. (Well something along those lines)
Then you'd put the tag into link.html ....may be a bit slow though doing 25+ updates per page...eww...you might want to consider using something like:
UPDATE Table SET HitCount = HitCount + 1 WHERE LinkID IN ('1','2','3')
...or whatever.
You could just use a global ;)
sub { $DB->table('Table')->update( { HitCount => \'HitCount + 1' }, { LinkID => $_[0] } ) }
Thats all you need. (Well something along those lines)
Then you'd put the tag into link.html ....may be a bit slow though doing 25+ updates per page...eww...you might want to consider using something like:
UPDATE Table SET HitCount = HitCount + 1 WHERE LinkID IN ('1','2','3')
...or whatever.