2011-09-12, 07:39 AM
I am damn trying to get over one code since hours but cannot figure it out at all.
In modcp_moderatorlog,
there in the data columned table, there is some phrase as below:
When its parsed, it is displayed as:
User: test2
The above parsed thing is shown in modcp in mod logs in information column.
I'm trying to use and fetch the data table, but its printed as non-parsed like:
I want it to be in parsed (final form).
The query am using is:
$delby = get_user($rdel['data']);
and then trying to get it printed on location, I am using phrase:
' .$delby['data']. '
But damn, it doesn't prints the parse form but only below thing:
Any help?
In modcp_moderatorlog,
there in the data columned table, there is some phrase as below:
a:2:{s:3:"uid";s:1:"4";s:8:"username";s:5:"test2";}
When its parsed, it is displayed as:
User: test2
The above parsed thing is shown in modcp in mod logs in information column.
I'm trying to use and fetch the data table, but its printed as non-parsed like:
a:2:{s:3:"uid";s:1:"4";s:8:"username";s:5:"test2";}
I want it to be in parsed (final form).
The query am using is:
$del = $db->query("SELECT * FROM ".TABLE_PREFIX."moderatorlog WHERE fid=0 AND tid=0 AND pid=0 ORDER BY dateline DESC");
$delby = get_user($rdel['data']);
and then trying to get it printed on location, I am using phrase:
' .$delby['data']. '
But damn, it doesn't prints the parse form but only below thing:
a:2:{s:3:"uid";s:1:"4";s:8:"username";s:5:"test2";}
Any help?