Re: While statement

From: Date: Wed, 30 Aug 2000 11:37:10 +0000
Subject: Re: While statement
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-14384@lists.php.net to get a copy of this message
Have a look at switch statements eg switch ($site_name) { case 0: case 1: do this } if ($site_name==1 | $site_name==0) {} What does this have to do with While statments? David. ----- Original Message ----- From: Alan Todd <Alan.Todd@InfoAve.Net> To: <php-general@lists.php.net> Sent: Wednesday, August 30, 2000 5:40 AM Subject: [PHP] While statement > This is what i am trying to do > > if $site_name = 0 do this or if site_name = 1 do this > if $user_mail =0 do this same as above > > any clue or did i throw u off as well.. > > Alan > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#14384) next »