my class in php contains an array -> mysql_fields. How do i go about extracting the info from the array?
giving a print_r($sub_details->mysql_fields)
works as expected while,
but foreach($sub_details->mysql_fields as $key -> $value)
{
echo $key."->".$value;
}
doesnt work.
How do i got about iterating through the arrary?