jquery - Weird "for" instruction to PHP -
so have weird code never seen anywhere else. works.
{{each sizes}} ${endmark($data, sizes, ',')} <p>${$value.tam}</p> {{/each}
this little script write paragraph arrays items. never seen before , need convert array php.
i've tried this:
{{each sizes}} ${endmark($data, sizes, ',')} <?php $testee = "?> ${$value.tam} <?php "; $i++; ?> {{/each}
but not work!
does have idea?
thank you.
some template engine processing that
https://github.com/mardix/handlebars
Comments
Post a Comment