I have the following serialized PHP array stored in a mySQL database:
a:2:{i:2070;s:4:"0.00";i:1901;s:4:"1.00";}
Now, I managed to output that value with:
$my_data=mysql_result($result,$i,"my_data");
echo "$my_data";
but I can't manage to unserialize it. I tried this but it doesn't work:
$my_data=unserialize($my_data);
When I add that in between, all I get is a blank page. Any ideas?