It's all working now! Thanks
I am sending you the forgotpassword.php that i first used - that didn't work. I can't see any difference in what you did and the file that i used orignally.
Would really appreciate it if you could you tell me why the file i am attaching didn't work correctly?Thanks