Not sure what I'm doing wrong with this one, but when I attempt to do a foreach
loop with a variable, it comes back with Array Array
.
PHP Code:
<?php foreach ($thing as $t) : ?>
<?php $thisStuff = $t[stuff]; ?>
<?php echo $thisStuff; ?>
<?php endforeach; ?>
Output:
Array Array
Could this be possibly that there is another array within $thisStuff
? If so would I loop through that data?