Hi Nick,
Thanks for getting back to me, I have found out what the problem is, my hosted package only uses mySQL 4.1, which is why i cant get it to work! I have requeted that they upgrade me to 5 but they have said that this is not possible!?!
So it looks like i will have to find another solution, although I do really like what you have done and it would be perfect for what i need :-(
Thanks for your help though!
Matt