From f756e42f380a97266e5c8622b39780f5735624ec Mon Sep 17 00:00:00 2001 From: pete_morgan Date: Tue, 28 Mar 2006 01:15:34 +0000 Subject: [PATCH] added an example --- .../language-function-php.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/en/designers/language-builtin-functions/language-function-php.xml b/docs/en/designers/language-builtin-functions/language-function-php.xml index 02cb1b12..14550940 100644 --- a/docs/en/designers/language-builtin-functions/language-function-php.xml +++ b/docs/en/designers/language-builtin-functions/language-function-php.xml @@ -3,14 +3,14 @@ {php} - {php} tags allow php to be embedded directly into the template. They + The {php} tags allow PHP code to be embedded directly into the template. They will not be escaped, regardless of the $php_handling setting. This - is for advanced users only, not normally needed. + is for advanced users only, not normally needed and not recommended. {php} tags - + - {php} tags with global + {php} tags with global and assigning a variable assign('varX','Strawberry'); + {/php} +{$varX} is my fav ice cream ]]>