Quote:
Originally Posted by acctman
i just tried the code below, I'm getting a blank page this time around. there is two array 0 and m_addtn
$res = mysql_query("SELECT m_addtn FROM s_viz WHERE m_id = '39'");
$result = mysql_fetch_array($res);
$decode = unserialize(base64_decode($results['m_addtn']));
print_r($decode);
|
Life happened. That is base64, allright.
Looking at the foreach, it said it was a sub-branch [0], so, try:
PHP Code:
$decode = unserialize(base64_decode($results['m_addtn']['0']));
print_r($decode);