I have an serialized array that is stored in db and I can get the data printed out by doing this:
$array = unserialize($mydata);
foreach($array as $key => $value)
{
echo "\"".$key."\" => \"".$value."\", ";
}
Now, when it prints out I get this:
"var1" => "item1", "var2" => "item3", "var3" => "Array",
So there's another array in the data as a value for var3. How do I get that array to print out as well?