On Sun, 22 Sep 2002 11:09:16 +1000, you wrote:

>thats the thing , the word Array is what it returns even though there was no
>input file.

Oh, I see.  Without seeing your code, the best recommendation I have
is to loop through the array and remove the empty elements, then check
to see if the array is empty, something like this:

if (is_array($array)) {
  foreach ($array as $key => $element) {
    if ($element == "") {
      unset($array[$key]);
    }
  }
}

if (empty($array)) {
  ...
}

Sorry if I'm still misunderstanding...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to