I have an a value in an array that I am not sure how to reference.
If I show the array like this:
while (list($option, $value) = each($this->contents[$products_id]['attributes'])) {
print_r( $this->contents[$products_id]['attributes']); echo "<br/>";
}
I get the following output:
Array ( [5] => 115 [2] => 17 )
Array ( [5] => 115 [2] => 17 )
The value that I need is the 17.