This is for the Smarty Template Engine (smarty.php.net):
Does anyone know a way to force a "{" or "}" (the default tags) to be displayed, and not interpreted, such as the back-slash in PHP, Perl or JavaScript?
Thanks.
Printable View
This is for the Smarty Template Engine (smarty.php.net):
Does anyone know a way to force a "{" or "}" (the default tags) to be displayed, and not interpreted, such as the back-slash in PHP, Perl or JavaScript?
Thanks.
I dont get the question i think this is what your saying, how can i make it so when you type ( or ) it tunrs to { or } ?? If not can you please say the question again
This site is dedicated to special characters in HTML etc....
http://www.draac.com/special.html
And here is the php.net manual dedicated to strings:
http://www.php.net/manual/en/ref.strings.php
what i am looking for is to include a style sheet in my page.
right now I have to do this
I want to just do something like "\{" and "\}" (use an escape character i think) instead of doing "{php} echo "{\n"; {/php}" and "{php} echo "}\n"; {/php}"Code:<STYLE>
this {php} echo "{\n"; {/php}
color: blah;
otherstuff: blah;
{php} echo "}\n"; {/php}
</STYLE>
I hope that this is clearer
Thanks