array_search() problem

From: Date: Thu, 12 Sep 2002 22:02:48 +0000
Subject: array_search() problem
Groups: php.general 
Request: Send a blank email to php-general+get-116212@lists.php.net to get a copy of this message
Hi I'm runing a PHP Version 4.0.4pl1 on Solaris 8 X86 on apache, and I'm trying to search an array while(list($findId) = mysql_fetch_row($resultNextLast)){ $NextLast[] = $findId; } $currArrayPos = array_search($ImgId, $NextLast); and this code results this error: Fatal error: Call to undefined function: array_search() Any body have any idea what could be wrong? Thanks David

« previous php.general (#116212) next »