Could you post a copy of the entire post that did not work inside
[code] brackets here? It's a bit hard to find exactly what went wrong without a full copy of the problem code.