I'm having a script which exports (pdf) files from the found records.
the counter variable counts ($found = $found + 1) e.g. 14 records but the exported files are 13 of 12.
So the first and sometimes the second records aren't exported.
But if i run the debugger, all the found records are exported !!!
Anybody know why? Or got a solution?