Welcome Guest, Not a member yet? Register   Sign In
Form validation callback not working!
#5

[eluser]CroNiX[/eluser]
Out of curiousity, why are you checking to see if the username is not false? Do you actually set it to boolean FALSE somewhere? Like if they aren't logged in or something? Maybe checking to see if its empty() would be better.
Code:
if ( $user = $this->musers->single ( $username ) != false )
to
Code:
if( ! empty($this->musers->single ( $username )))


Messages In This Thread
Form validation callback not working! - by El Forum - 08-10-2010, 06:17 AM
Form validation callback not working! - by El Forum - 08-10-2010, 06:19 AM
Form validation callback not working! - by El Forum - 08-10-2010, 07:40 AM
Form validation callback not working! - by El Forum - 10-14-2010, 09:16 PM
Form validation callback not working! - by El Forum - 10-15-2010, 12:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB