php - Mustache - isset -
how can check if variable set in mustache? like:
<?php if(isset($foo) && isset($bar)): ?>
{{#varname}} {{varname}} {{/varname}}
see http://mustache.github.com/mustache.5.html, first example
how can check if variable set in mustache? like:
<?php if(isset($foo) && isset($bar)): ?>
{{#varname}} {{varname}} {{/varname}}
see http://mustache.github.com/mustache.5.html, first example
Comments
Post a Comment