On Friday 13 August 2004 19:33, Harlequin wrote: > Can someone help with this please...? > > if( strlen( $UserID ) != 0 > & strlen( $UserPassword ) != 0 > & strlen( $SecretPassword ) != 0 > & strlen( $UserMail ) != 0 ) > { > Do something > } > elseif ( strlen( $UserID ) == 0 > or strlen( $UserPassword ) == 0 > or strlen( $SecretPassword ) == 0 > or strlen( $UserMail ) == 0 ) > { > Do Something else > }
WHAT help did you want? Not all of us are mindreaders. 1) State what you want to do (preferably in English -- as opposed to code) 2) State what you did (probably in code) 3) State what you expected to happen 4) State what actually happened, along with error messages if appropriate -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Who is John Galt? */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php