View Single Post
Old 08-28-2008, 03:22 PM  
GigoloShawn
Confirmed User
 
Join Date: Oct 2007
Location: No longer with Star Marketing Group.
Posts: 700
Quote:
Originally Posted by acctman View Post
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); 
__________________
I no longer represent TrafficGigolos, please contact Justin or Rebecca with any issues.
GigoloShawn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote