XenForo
Administrative
- Thread starter
- Admin
- #1
Code:
Code:
I want to check if this array has more than 5 rows, how would you check this within a template?
Something like
ادامه مطلب...
{{ dump($myArr) }}
Code:
Code:
array:10 [▼
1 => 1
2 => 2
3 => 3
4 => 4
5 => 5
6 => 6
7 => 7
8 => 8
9 => 9
10 => 10
]
I want to check if this array has more than 5 rows, how would you check this within a template?
Something like
<xf:if is="{$myArr[0]} >5">...</xf:if>
?ادامه مطلب...