David Orn Johannsson
2002-09-12 22:02:48 UTC
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
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