I have this after submitting a form
 
[SelectionsSkills] => Array
        (
            [1] => Array
                (
                    [13] => 4
                )

            [2] => Array
                (
                    [1] => 4
                )

            [3] => Array
                (
                    [9] => 
                )

            [4] => Array
                (
                    [8] => 
                )

            [5] => Array
                (
                    [7] => 4
                )
        )

)

And I need to do 2 things with this array
- where [9] => and [8] => have no value I need to remove them from the array
- where [13] => 4, [1] => 4 and [7] => 4,  I need 2 values each key / value,
the numbers in brackets represent the selection_id and the value represent
the year_id they selected for that particular skill

Any ideas how I can do this?

 
Dave

Merry Christmas to all those still working :)

Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to