how to dice up the array

hadimhd

New Member
I have an array like this (below is the var_dump)\[code\]array 0 => object(stdClass)[11] public 'VN' => string '571.5' (length=5) public 'color' => string 'GREEN' (length=5) public 'name' => string 'CIRRHOSIS' (length=9) public 'icd9ID' => string '5765' (length=4) public 'ID' => string '46741' (length=5) 1 => object(stdClass)[12] public 'VN' => string '571.5' (length=5) public 'color' => string 'GREEN' (length=5) public 'name' => string 'CIRRHOSIS' (length=9) public 'icd9ID' => string '5765' (length=4) public 'sortOrder' => string '1' (length=1) public 'ID' => string '46742' (length=5) 2 => object(stdClass)[15] public 'VN' => string 'V58.69' (length=6) public 'color' => string 'ORANGE' (length=6) public 'name' => string 'Long-term (current) use of other medications' (length=44) public 'icd9ID' => string '15116' (length=5) public 'ID' => string '46741' (length=5) 3 => object(stdClass)[14] public 'VN' => string '070.32' (length=6) public 'color' => string 'GREEN' (length=5) public 'name' => string 'HEPATITIS B CHRONIC' (length=19) public 'icd9ID' => string '14463' (length=5) public 'ID' => string '46742' (length=5) 4 => object(stdClass)[13] public 'VN' => string '070.32' (length=6) public 'color' => string 'GREEN' (length=5) public 'name' => string 'HEPATITIS B CHRONIC' (length=19) public 'icd9ID' => string '14463' (length=5) public 'ID' => string '46741' (length=5)\[/code\]I want to two HTML tables. One that will carry all the same ID and second one will carry the other IDHow can I do thatThanks!
 
Back
Top