-
November 10th, 2002, 01:41 AM
#1
Junior Member
Smarty
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.
-
November 10th, 2002, 02:17 AM
#2
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
-
November 10th, 2002, 12:50 PM
#3
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
-
November 11th, 2002, 02:39 AM
#4
Junior Member
what i am looking for is to include a style sheet in my page.
right now I have to do this
Code:
<STYLE>
this {php} echo "{\n"; {/php}
color: blah;
otherstuff: blah;
{php} echo "}\n"; {/php}
</STYLE>
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}"
I hope that this is clearer
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|