summaryrefslogtreecommitdiffstats
path: root/user_guide/general/alternative_php.html
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-30 18:13:13 +0100
committeradmin <devnull@localhost>2006-10-30 18:13:13 +0100
commitcef2106de1c7044072499aa5d4e529a01c3db8a4 (patch)
treec8f898d01acd5915066e5d65b24ba09933cf903b /user_guide/general/alternative_php.html
parenta42bf30be502fa46f61ba77575e71fb587b30102 (diff)
Diffstat (limited to 'user_guide/general/alternative_php.html')
-rw-r--r--user_guide/general/alternative_php.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/user_guide/general/alternative_php.html b/user_guide/general/alternative_php.html
index 7e8de7c0b..564dc3238 100644
--- a/user_guide/general/alternative_php.html
+++ b/user_guide/general/alternative_php.html
@@ -67,6 +67,12 @@ in your View files. To minimize the PHP code in these files, and to make it eas
syntax for control structures and echo statements. If you are not familiar with this syntax, it allows you to eliminate the braces from your code,
and eliminate "echo" statements.</p>
+<p class="important"><strong>Note:</strong> If you find that the syntax described in this page does not work on your server it might
+be that "short tags" are disabled in your PHP ini file. Code Igniter will optionally rewrite short tags on-the-fly,
+allowing you to use that syntax even if your server doesn't support it. This feature can be enabled in your
+<dfn>config/config.php</dfn> file.</p>
+
+
<h2>Alternative Echos</h2>
<p>Normally to echo, or print out a variable you would do this:</p>
@@ -77,8 +83,6 @@ and eliminate "echo" statements.</p>
<code>&lt;?=$variable?></code>
-<p class="important"><strong>Note:</strong> If you find that the syntax described in this page does not work on your server it might
-be that "short tags" are disabled in your PHP ini file.</p>
<h2>Alternative Control Structures</h2>
@@ -129,7 +133,7 @@ important!</p>
<div id="footer">
<p>
-Previous Topic:&nbsp;&nbsp;<a href="multiple_apps.html">Running Multiple Applications</a>
+Previous Topic:&nbsp;&nbsp;<a href="managing_apps.html">Managing Applications</a>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;
<a href="#top">Top of Page</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;
<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;