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.
created_date
created_at
1 parent 128f324 commit 0134123Copy full SHA for 0134123
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 created_date, title, body FROM post WHERE id = '.$id;
+ $query = 'SELECT created_at, 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['created_date'] ?></div>
+ <div class="date"><?php echo $post['created_at'] ?></div>
301
<div class="body">
302
<?php echo $post['body'] ?>
303
</div>
0 commit comments