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
smarty string matching problem - urgent plz help
Moderator: General Moderators
-
gaurav_sting
- Forum Newbie
- Posts: 19
- Joined: Sat Mar 27, 2004 3:45 am
- Location: Delhi
-
TheBentinel.com
- Forum Contributor
- Posts: 282
- Joined: Wed Mar 10, 2004 1:52 pm
- Location: Columbus, Ohio