Does anyone know if the following would work;
if ($IN->cookie('Advert1')) { next; }
push(@grabbed_ids, $hit->{ID}); # push the ID into an array...
}
The problem I am having, is that it doesn't seem to be going to the 'next' entry
Am I doing this correctly?
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
while (my $hit = $sth2->fetchrow_hashref) { if ($IN->cookie('Advert1')) { next; }
push(@grabbed_ids, $hit->{ID}); # push the ID into an array...
}
The problem I am having, is that it doesn't seem to be going to the 'next' entry
Am I doing this correctly?
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!