Oh for [deity of choice]'s sake. You ignore all the suggestions in the previous thread, start a new thread, then in the new thread tell us exactly zero about how the code is now failing, what output it produces, what output you expect, what results you had from trying people's previous suggestions, etc etc.
Dave.