Page 2 of 2

Posted: Wed Aug 29, 2007 6:53 am
by stereofrog
VladSun wrote: "Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime."
Not relevant here. OP's question was quite clear, it wasnt' about best practices or comparison of different methods. All he asked for was the correct syntax and that's what I offered.

Posted: Wed Aug 29, 2007 6:58 am
by VladSun
I had explained what was wrong with his code (i.e. the syntax error), but as a rule, not a copy-paste-code ...

But ... never miind ... :)