diff --git a/book/from_flat_php_to_symfony2.rst b/book/from_flat_php_to_symfony2.rst
index 28ba62cf284..43d23745477 100644
--- a/book/from_flat_php_to_symfony2.rst
+++ b/book/from_flat_php_to_symfony2.rst
@@ -44,8 +44,8 @@ persisted to the database. Writing in flat PHP is quick and dirty:
fetch(PDO::FETCH_ASSOC)): ?>
-
-
-
+
+ = $row['title'] ?>
@@ -113,8 +113,8 @@ is primarily an HTML file that uses a template-like PHP syntax:
-
-
-
+
+ = $post['title'] ?>
@@ -205,10 +205,10 @@ that by creating a new ``layout.php`` file:
-
+ = $title ?>
-
+ = $content ?>
@@ -224,8 +224,8 @@ the layout:
-
-
-
+
+ = $post['title'] ?>
@@ -280,11 +280,11 @@ the individual blog post:
-
+ = $post['title'] ?>
-
+ = $post['created_at'] ?>
-
+ = $post['body'] ?>
@@ -573,11 +573,11 @@ database and the Templating component to render a template and return a