Welcome Guest, Not a member yet? Register   Sign In
Transform 'user_data' to array.
#1

[eluser]pisio[/eluser]
Hi, again , it's me :p
How I can transform data from 'user_data' by ci_sessions table (table with data from session) to array ....

ci_sessions.user_data
Quote:a:3:{s:8:"username";s:4:"root";s:9:"logged_in";s:1:"1";s:4:"time";s:10:"1281412161";}
to
array (
'username' => 'root',
'logged_in' => '1',
'time' => '1281412161'
and more if there exist
);


Sorry for my bad English.
And 10x Smile


Messages In This Thread
Transform 'user_data' to array. - by El Forum - 08-09-2010, 09:51 PM
Transform 'user_data' to array. - by El Forum - 08-09-2010, 11:06 PM
Transform 'user_data' to array. - by El Forum - 08-09-2010, 11:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB