Its a function.

in php4, easy: http://php.net/manual/en/function.in-array.php

there will be an example for php 3 as well.

At 11:36 AM 3/10/2001 +0100, you wrote:
>hello,
>
>i'm trying to do something like
>
>$tmparray = array("foo", "foo1", "foo2");
>if ($i in $tmparray) then do something
>..
>but i dont know how to do it.
>any help would be appriciated
>
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
art-nude.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to