View Single Post
Old 08-28-2008, 02:44 PM  
acctman
Confirmed User
 
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
Quote:
Originally Posted by Varius View Post
is $results there the array though (recordset returned)? If so that's your error, you need to unserialize(base64-decode()) on the actual string (data of that one field), not the whole returned result (recordset).

if you want paste the few lines of code you have above that where it shows the fetching of the row, etc...
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);
acctman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote