http://qs321.pair.com?node_id=608143


in reply to Re^3: Error when trying to loop through DB and run a script
in thread Error when trying to loop through DB and run a script

yep this is it, i declared pdf globaly and it worked, thanks.