The code looks correct, so I would suspect the Data in the database.
add the following code to the send password page just after the body tag:
<?php
echo($query_LostPassword);
?>
this will write the SQL Query that is being used to the page.
copy this query and run it directly against the database using the mySQL GUI Tools Query Browser or which ever tool you use for managing your database.