Forums

Read an Array Value

neptunian 06 Mar, 2014
Hi, i want to add some custom PHP code in my form to display and link a field that is passed in the data array
¿Does anyone knows how to read this fields from PHP?
the array generated (showed in the debug mode of CC) is like this:

Array
(
    [Approx_Memory_Usage] => 1230960
    [Approx_Time] => 0.00874400138855
    [check_permissions] => Array
        (
            [read] => 1
        )

    [SQL] => Array
        (
            [0] => SELECT `base`.*, `accesos`.`user_id` AS `accesos.user_id`, `accesos`.`group_id` AS `accesos.group_id` FROM `w7k9a_users` AS `base` INNER JOIN `w7k9a_user_usergroup_map` AS `accesos` ON base.id = accesos.user_id WHERE `base`.`id` = '383'
        )

    [data] => Array
        (
            [0] => Array
                (
                    [accesos] => Array
                        (
                            [user_id] => 383
                            [group_id] => 2
                        )

                    [base] => Array
                        (
                            [id] => 383
                            [name] => Cliente #1
                            [username] => cliente1
                            [email] => ************************
                            [password] => ***********************
                            [usertype] => deprecated
                            [block] => 0
                            [sendEmail] => 1
                            [registerDate] => 2014-03-04 19:28:08
                            [lastvisitDate] => 0000-00-00 00:00:00
                            [activation] => 
                            [params] => {"admin_style":"","admin_language":"","language":"","editor":"","helpsite":"","timezone":""}
                            [lastResetTime] => 0000-00-00 00:00:00
                            [resetCount] => 0
                        )

                )

        )

)
neptunian 06 Mar, 2014
Sorry, there is a FAQ for this that i haven't seen..
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger