Function Reference / val

extract a single value from the last decoded data

OVERVIEW

PHPstring zestoi_val(string $name)
SMARTY{val name=STRING var=STRING}

EXAMPLES

PHP

echo "the title is " . zestoi_val('title');

SMARTY

Specifying the 'var' parameter will set that variable for later use, else the value is output in place.

the title is {val name=title}

{val name=title var=mytitle}
the title is {$mytitle}