Here's the code I'm using and having trouble with:
Code: Select all
foreach ($this->matches as $page) {
print "$page";
echo "<br />";
}Moderator: General Moderators
Code: Select all
foreach ($this->matches as $page) {
print "$page";
echo "<br />";
}Ahh, that seemed to fix it. Added another foreach loop inside my current foreach loop and it works now.papa wrote:$this->matches is probably a multi-dimensional array so you need to go deeper in your loop.
Do a print_r($this->matches) and see how it looks.