I have tested you code and found that it works.
the only thing I did different was place this code at the top of the script:
error_reporting(E_ALL ^ E_NOTICE);
once I did that it worked fine. It may not be the best solution, but it did work after I placed that within the code.
Reputation Points: 10
Solved Threads: 5
Junior Poster in Training
Offline 52 posts
since Aug 2007