"Steve Osborne" <[EMAIL PROTECTED]> wrote: > Simple question for one of you I am sure. I'm new to mysql (and php) and I > am hoping someone can explain exactly what the 'in_array' function does. > (Although I am new to mysql and php, I have programmed in extensively in > Visual Basic, and have a little bit of experience in C, C++, and Java, so > feel free to be specific in your replies.)
I have to assume this is a PHP question since it has nothing to do with MySQL. Probably would be more suitable for the php-general list at php.net, but... 1. It returns true if a value is found in the supplied array, false otherwise. 2. See the PHP manual entry for in_array() for details and examples. http://us.php.net/manual/en/function.in-array.php -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php