array_count_values
| From: | Matthew Luchak | Date: | Wed, 18 Apr 2001 18:41:39 +0000 |
| Subject: | array_count_values | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-49244@lists.php.net to get a copy of this message | ||
can someone give a quick hint as to why this does not work:
$array = split ("\n", $contents);
$stuff = array_count_values ($array);
echo $stuff[nuts];
or even:
$array = array (split ("\n", $contents));
$stuff = array_count_values ($array);
echo $stuff[nuts];
thnx...
matthew