[RSS Feed/News] Looping through a foreach and counting the results

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
If I have the following code:

Code:

Code:
<xf:foreach loop="$foobar" value="$foo">
</xf:foreach>

Is it possible to cumulatively check the value of a result and check to see if it is not null?

For example if I had 10 results I would like to read the following field:

Code:

$foo.xyz

And display some text if any of them return null.

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom