php - Pyrocms if condition is not working -
this pyro cms code.
{{ images }} {{ if default == 1 }} <div><img src='{{ src }}'/> {{ endif }} {{ /images }} this status not working when seek print default value.
{{ images }} {{ default }} {{ images }} i have 2 images in array. , output return.
0 1
in array have default value 1. status not working.
please help made mistake.
thank you.
php codeigniter pyro
No comments:
Post a Comment