...

View Full Version : smarty string matching problem - urgent plz help



gaurav_sting
04-13-2004, 08:48 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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum