RE: [PHP] question

From: Date: Wed, 04 Sep 2002 16:49:10 +0000
Subject: RE: [PHP] question
Groups: php.general 
Request: Send a blank email to php-general+get-115195@lists.php.net to get a copy of this message
while($a) { [statments] } while($b) { [statments] } while($c) { [statments] } or while(isset($a)) { [statments] } while(isset($b)) { [statments] } while(isset($c)) { [statments] } would both work well depending on your particular situation -----Original Message----- From: Richard Black [mailto:rblack@datavisibility.co.uk] Sent: Wednesday, September 04, 2002 7:32 AM To: dorevh@tiscali.nl; Php-General Subject: RE: [PHP] question Can you provide a bit more info??? Maybe a real life example of what you're trying to accomplish??? Richy ========================================== Richard Black Senior Developer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 951 3481 Email: rblack@datavisibility.co.uk -----Original Message----- From: dorevh@tiscali.nl [mailto:dorevh@tiscali.nl] Sent: 04 September 2002 15:26 To: php-general@lists.php.net Subject: [PHP] question I have a php question. I would like to enter a "while" loop, but: I want it to be like this: when $a has a value, while $a... when $b has a value, while $b... (same statements as with $a) when $a has a value, and $b has a value, while $a and $b this is based on a search system in which the user can enter a, b or a and b. Can you help me with my problem, or help me find someone who can?! Thanks. Dore van Hoorn. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#115195) next »