I am stuck. Please could somebody help me, my code doesn't want to work. It opens the Registration page but doesn't correspond with the database. My database code is correct. I think there might be something wrong with my if statement but cannot find the mistake.
Admin
Registered: 18 years ago
Posts: 10,001
Rating: 353
M.A.K.E. u.s.e. o.f. t.h.e. f.o.r.m.a.t.t.e.d. c.o.d.e. button to post code as described in the tut letter! Also, do not post complete sections of code.
Saying your code does not correspond with the db implies the db is incorrect. Also, it is a vague statement and you do not precisely what error you are getting.
I am not getting an error message. If I type in my user name and password it runs and then at the bottom of the screen it will show done but it will stay on the registration page.
Admin
Registered: 18 years ago
Posts: 10,001
Rating: 353
That may point at a typing error, which causes the code to stop running. It can be difficult to resolve, because generally Apache return an error message. Remove sections of code until it works, then add small sections again
Another cool tip posted by Mac, and it might also help here, is adding echo statements to just about every second line of your code.
This will help you see to where your code has progressed and where it didnt get to.
I used this method quite a lot with my protfolios
---------------------------------------------------------------------
Live life...
---------------------------------------------------------------------