Forum : Smarty
Brief description  about Online courses   join in Online courses
View  's Profile

Smarty

Can You please send me the php sample program to count the cahracters by taking user input? i tried .. but im getting problem with how to conut character in .tpl once we took the input from user..
Asked by | Jul 25, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi uma,

You can count characters using "Smarty Variable Modifiers"

For example :
{$variablename|count_characters:true}

Thanks
Jul 26, 2010