Instead of doing
you can do this :)PHP Code:if ( $p['password'] )
Your way it expact that it is a boolean (true/false)PHP Code:if ( array_key_exists('password', $p) )
With array_key_exists it check if the key (currently used `password`) exists and if so, It returns true

