Forums

handle array after db read

livingwebstudio 28 May, 2016
Hi ù,
I don't know how to handle array after a db read;
I have an action, DB read, this is the code in debug
[0] => Array
        (
            [usergroup] => Array
                (
                    [id] => 684
                    [email] => francescwoporcelli@libco.it
                )

            [gruppoutenti] => Array
                (
                    [0] => Array
                        (
                            [user_id] => 684
                            [group_id] => 2
                        )

                    [1] => Array
                        (
                            [user_id] => 684
                            [group_id] => 8
                        )

                )

        )

    [1] => Array
        (
            [usergroup] => Array
                (
                    [id] => 693
                    [email] => liwvingwebstudio@gmail.com
                )

            [gruppoutenti] => Array
                (
                    [0] => Array
                        (
                            [user_id] => 693
                            [group_id] => 8
                        )

                    [1] => Array
                        (
                            [user_id] => 693
                            [group_id] => 21
                        )

                )

        )

how can I do the array ONLY for the email filed?
GreyHead 29 May, 2016
Hi livingwebstudio,

With a Custom Code action I think - but I don't understand what you need to do?

Bob
This topic is locked and no more replies can be posted.