Re: [PHP] Validating two variables

2003-07-14 Thread David Otton
On Mon, 14 Jul 2003 12:04:54 +0200, you wrote: > if ($user!='monganl') is what I have > >this is what I want to do > if ($user!='monganl' or 'wilsonma') > >what would be the proper format for this! if ($user != 'monganl' || $user != 'wilsonma') however, this condition would never fire, as $user

[PHP] Validating two variables

2003-07-14 Thread Ron Allen
if ($user!='monganl') is what I have this is what I want to do if ($user!='monganl' or 'wilsonma') what would be the proper format for this! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php