Addressed to: CDitty <[EMAIL PROTECTED]>
              [EMAIL PROTECTED]

** Reply to note from CDitty <[EMAIL PROTECTED]> Thu, 18 Jan 2001 06:58:22 -0600

I see someone else has another suggestion that might be better, using
array_count().  You learn something new every day, which is why I watch
this list...


anyway, the thing I see in your code:

>
> while(list($index, $value) = each($dice)){ // Changed from $Input to
                      ^

>    $Output[$Value]++; }
              ^

$Value != $value



I know my use of caps or not in this example sucks.  I usually always
use Caps On Each Word for my var names, but I am trying to switch to
what appears to be the php standard, lower case everywhere.  Sorry
about that...




Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com

--
PHP General Mailing List (http://www.php.net/)
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