".email" email address error on sign up (General)
Hi,
return (!filter_var($email, FILTER_VALIDATE_EMAIL) === false) && !contains_invalid_string($email); }
2. What should be returned? The two functions can return three possible states (the functions (in this combination) returns one of the following states:
true
,false
or a string).
No, only true
or false
are possible return values.
/Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences