Loop inside loop
-
Hi,
How can I print data of loop fields which are inside another loop?
I was trying sth like this but its not working:$fields = $cfs->get(‘something’);
foreach ($fields as $field) {
echo $field[‘title’];$fields_in = $cfs->get(‘something2’);
foreach ($fields_in as $field2) {
echo $field2[‘image’];
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Loop inside loop’ is closed to new replies.