Vote Up 0 Vote Down

To check an empty string in Smarty

How to check an empty string in Smarty ?
flag

Answers


Vote Up 0 Vote Down
To check an empty string in Smarty :

{if !empty($somevariable)}

{/if}
flag | link |

Your Answer

Login before answering

Login with facebook