smarty string matching problem - urgent plz help
Posted: Tue Apr 13, 2004 2:47 am
hello everyone,
i am stuck in a very peculiar situation,
In my php script i am assigning a variable like this:
smarty->assign("message","true");
now in my template file whenevery i write this:
{if $message eq "true"}
Welcome
{/if}
the above code gives me the following error:
Fatal error: Smarty error: [in show_cart.tpl line 26]: syntax error: unidentified token '\"Your\"' (Smarty_Compiler.class.php, line 1357) in C:\Inetpub\wwwroot\Book_Store\libs\Smarty.class.php on line 1102
Kindly help.
Gaurav
i am stuck in a very peculiar situation,
In my php script i am assigning a variable like this:
smarty->assign("message","true");
now in my template file whenevery i write this:
{if $message eq "true"}
Welcome
{/if}
the above code gives me the following error:
Fatal error: Smarty error: [in show_cart.tpl line 26]: syntax error: unidentified token '\"Your\"' (Smarty_Compiler.class.php, line 1357) in C:\Inetpub\wwwroot\Book_Store\libs\Smarty.class.php on line 1102
Kindly help.
Gaurav