Re: Advanced Array Help



$array[#][hardware][#][vendor][#][model] = number

Easy enough to go through the whole array with while(list($k, $v) = each($array))



     array(3) {
          ["Hardware"] => "Desktop PC"
          ["Vendor"] => "IBM"
          ["Model"] => "123"

I want to be able to create a report like this using a data set similar
to the above array:

Desktop PC -4
    IBM - 3
         123 - 2
         234 - 1
         456 - 1
    Dell - 1
         567 - 1
Laptop - 1
     IBM - 1
          456 -1



--
Mike Willbanks
Zend Certified Engineer
http://blog.digitalstruct.com
.


Quantcast