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:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 7:32 AM
To: [EMAIL PROTECTED]; 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: [EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 04 September 2002 15:26
To: [EMAIL PROTECTED]
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