I’ve got this line of code:
// echo the name of one forum (without additional DB query)
echo ($mybb->cache->cache['forums'][19][name]);
This gives the name of one forum. I need to list all forums by “querying” the array. Obviously, a simple db query could do this, but the info is already available.
How to iterate all the ‘forums’ and echo their name?
1 Answer