Thanks Alex. I kinda guessed that was the problem but wanted to be sure before I spent hours backing up files and getting my host to upgrade.
Ok, so you are completely awesome! Not knowing PHP very well it would have taken me eons to figure that one out. Thanks a lot! Your code is working in xampp.