Function returning false?

Function returning false?

Link to my code:  http://paste2.org/p/3053253 (easier to read/formatted nicer)

In the above code, for some reason the function validate does not return true even if all the data entered into the registration form is correct (e.g: no error messages come up & the account get's created, but there's no "successful registration" message that's suppose to show up if the validate function returns true).

Any ideas on where I'm going wrong? :'(

Thanks!