Page 1 of 1
array_count_values
Posted: Tue Aug 17, 2004 7:55 pm
by 1andyw
Is there a way to use the function 'array_count_values' so that it will return variables with the count?
Posted: Tue Aug 17, 2004 8:06 pm
by anjanesh
Variables ?
Are you talking abt keys and values of the array ?
array_keys : array array_keys ( array input [, mixed search_value])
and
array_values : array array_values ( array input)
will return the keys and values of the array.
Posted: Wed Aug 18, 2004 2:55 pm
by 1andyw
Thank you for your response. I was considering new code to improve the performance of a database. However, I believe I will stay with what I have now. It isn't pretty but it works, and it is simple enough to troubleshoot a few months down the road. Your interest is appreciated.
Andy