Link to home
Start Free TrialLog in
Avatar of interclubs
interclubs

asked on

PHP Recursively walk array and link element...

I have a large array (with a bunch of sub arrays) and I want to recursively go through it, and if the key ='id' I want to change the value to be:
<a href="?[this_value]">[this_value]</a>
where [this_value] is the value of the id key.

ASKER CERTIFIED SOLUTION
Avatar of jhp333
jhp333
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial