CI and WordPress |
[eluser]skunkbad[/eluser]
[quote author="phpmonster" date="1301296560"]Thanks for your reply. I managed to connect to the CI db from WordPress and execute queries, however I'm using ion_auth and the userdata I need is stored in the ci_sessions user_data column with the following format: a:5:{s:5:"email";s:19:"[email protected]";s:2:"id";s:1:"2";s:7:"user_id";s:1:"2";s:8:"group_id";s:1:"2";s:5:"group";s:7:"members";} What format is this and how do I loop trough this.[/quote] That is a serialized array. Just unserialize it, and you will have a normal array. |
Messages In This Thread |
CI and WordPress - by El Forum - 03-25-2011, 12:06 PM
CI and WordPress - by El Forum - 03-25-2011, 09:43 PM
CI and WordPress - by El Forum - 03-27-2011, 08:16 PM
CI and WordPress - by El Forum - 03-27-2011, 09:50 PM
|