8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8950b2 commit 5daa5f8Copy full SHA for 5daa5f8
book/from_flat_php_to_symfony2.rst
@@ -266,7 +266,7 @@ an individual blog result based on a given id::
266
$link = open_database_connection();
267
268
$id = intval($id);
269
- $query = 'SELECT date, title, body FROM post WHERE id = '.$id;
+ $query = 'SELECT created_date, title, body FROM post WHERE id = '.$id;
270
$result = mysql_query($query);
271
$row = mysql_fetch_assoc($result);
272
@@ -297,7 +297,7 @@ the individual blog post:
297
<?php ob_start() ?>
298
<h1><?php echo $post['title'] ?></h1>
299
300
- <div class="date"><?php echo $post['date'] ?></div>
+ <div class="date"><?php echo $post['created_date'] ?></div>
301
<div class="body">
302
<?php echo $post['body'] ?>
303
</div>
0 commit comments