So my problem is, that even if i write an email that i know exist in the database it let me through. I got the config.php include a bit up in the code so the database connection is no problem.
mysql_num_rows returns the number of rows or false. The docs. So you should test against > 0.
NB
The mysql library is deprecated - there is a stark warning against its use on the docs page - and will be removed in the future.
The font tag is obsolete.
Your LI tag is not closed properly, so your HTML is mal-formed.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS