i may be wrong but as i understand that you want to check whether a
array holds any value or not --> for this u can use COUNT function of
array which will count the values of the array.
with best wishes
balwant
On Sat, 2005-01-29 at 06:29, Craig Hoffman wrote:
> Hi There,
> I am trying to write an if statement to see if an array has any values
> in it and if it does do something.
>
> for example:
> $ticklist2 = array("'$values")
>
> if (array_values(empty($ticklist2))) {
> do something
> } else {
> do something else
> }
>
> I just can't get this to work. Any help would be great.
> Thanks, Craig H.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php