http://www.php.net/manual/en/function.in-array.php

Kirk

> -----Original Message-----
> From: Erik Price [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 26, 2002 9:34 AM
> To: PHP
> Subject: [PHP] is there an "in" qualifier in PHP?
> 
> 
> I have a problem with some code (posted below), which I think I can 
> solve using a method similar to that found in Python:
> 
> if ($item in $potential_items) {
>       // do one thing
> } else {
>       // do another
> }
> 
> Is there something like this available in PHP?
> 
> Thank you,
> Erik
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to