Quote:
Originally Posted by acctman
this is what it's doing when it processes a update/insert into that field.
$addtn = base64_encode(serialize($_POST['edit_add']));
$q = 'm_addtn="'.$addtn.'"'.$q;
i tried this piece of code (below) but just received a T_String error
print_r unserialize(base64_decode($results));
|
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...