Hello everybody!
I am trying to make a forum for my class and I will do it from scratch I am from Denmark so my english could be a little wrong! Sorry!
The problem is when i try to login, I allways get the error that I had defined to do.. But only if both password and username dosn't exist...
Before i post the code i will give you a translation: Brugernavn = Username kodeord = password brugerid = userid
My register.php file works fine!
But I will post them both:
This is the register form:
http://pastebin.com/h6fgHSFB
And here are the code for my login.php, the strange thing is, that i do not get any kind of error dont even mysql errors, that i had hope on so i could fix it!
http://pastebin.com/Vc8Gt9SY
Hope you guys would like to help me!
Best Regards
Jesper Jensen from denmark
jesper@dh-data.dk