no it didnt print anything out. I cant get to see the error cos the script is 'live' and on a scheduled task and i cant see the console.
can you recommend some way of dumping out error msgs to a log file or something that isnt too obtrusive ? i dont want to be hacking at the code too much as it runs critical tasks every 30minutes.
thanks.