summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-09-15 22:11:54 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-09-15 22:11:54 +0200
commit2005ffe2fb3cff05fd5e8cd7e73a4c7053328574 (patch)
tree4bd38f8848384f56ae71ed7b0c02c0eeab5fa118
parent4f95353d295455ee740aec7ee1b5060195bff987 (diff)
changed <?= to <?php echo in an example
-rw-r--r--user_guide/general/views.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/general/views.html b/user_guide/general/views.html
index e2a209e52..0b309fd48 100644
--- a/user_guide/general/views.html
+++ b/user_guide/general/views.html
@@ -216,17 +216,17 @@ class Blog extends Controller {
<textarea class="textarea" style="width:100%" cols="50" rows="24">
&lt;html>
&lt;head>
-&lt;title>&lt;?=$title;?>&lt;/title>
+&lt;title>&lt;?php echo $title;?>&lt;/title>
&lt;/head>
&lt;body>
-&lt;h1>&lt;?=$heading;?>&lt;/h1>
+&lt;h1>&lt;?php echo $heading;?>&lt;/h1>
&lt;h3>My Todo List&lt;/h3>
&lt;ul>
&lt;?php foreach($todo_list as $item):?>
-&lt;li>&lt;?=$item;?>&lt;/li>
+&lt;li>&lt;?php echo $item;?>&lt;/li>
&lt;?php endforeach;?>
&lt;/ul>