Can anyone explain why I am getting the following error?

Fatal error: Call to unsupported or undefined function in_array() in
includes/ on line 3131

if( (is_array($List)) AND (is_array($RemoveList)) )
  $ListItems = count($List);
  for($ListItem=0; $ListItem < $ListItems; $ListItem++)
   //printf("<br>List value: $List[$ListItem]<br>\n");
   if(!(in_array($List[$ListItem],$RemoveList)) AND (trim($List[$ListItem])
<> "") )     // Line 3131
    $diff[] = $List[$ListItem];
  echo "In function ListDiff List and RemoveList are NOT arrays<BR>";
 return ($diff);


Steve Osborne
Database Programmer
Chinook Multimedia Inc.

PHP General Mailing List (
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