Hey..
using if,then,else....
how can I check if a variable is equal to nothing?
{if $var == ""} gives an error saying 'extra characters after close-bracket'
I'm probably using the wrong syntax.. anyone help?
Code: Select all
if {$var == ""} {
#do stuff
}