PHP Manual

PEAR Manual

Smarty Manual

PostgreSQL

MySQL Manual

Perl Manual

{ldelim},{rdelim}

{ldelim} and {rdelim} are used for escaping template delimiters, by default "{" or "}". you can also use {literal}{/literal} to escape blocks of text. see also {$smarty.ldelim}.

example 7-15. {ldelim}, {rdelim}

{* this will print literal delimiters out of the template *}  {ldelim}funcname{rdelim} is how functions look in smarty!

the above example will output:

{funcname} is how functions look in smarty!

another example with some javascript

<script language="javascript"> function foo() {ldelim}     ... code ... {rdelim} </script>

will output

<script language="javascript"> function foo() {     .... code ... } </script>

see also escaping smarty parsing