Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 128f324

Browse filesBrowse files
committed
bug #5567 Change Sql Field name because it's reserved (rmed19)
This PR was merged into the 2.3 branch. Discussion ---------- Change Sql Field name because it's reserved | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3+ | Fixed tickets | #5566 Commits ------- 5daa5f8 Change Sql Field name because it's reserved
2 parents ef4807f + 5daa5f8 commit 128f324
Copy full SHA for 128f324

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎book/from_flat_php_to_symfony2.rst

Copy file name to clipboardExpand all lines: book/from_flat_php_to_symfony2.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ an individual blog result based on a given id::
266266
$link = open_database_connection();
267267

268268
$id = intval($id);
269-
$query = 'SELECT date, title, body FROM post WHERE id = '.$id;
269+
$query = 'SELECT created_date, title, body FROM post WHERE id = '.$id;
270270
$result = mysql_query($query);
271271
$row = mysql_fetch_assoc($result);
272272

@@ -297,7 +297,7 @@ the individual blog post:
297297
<?php ob_start() ?>
298298
<h1><?php echo $post['title'] ?></h1>
299299

300-
<div class="date"><?php echo $post['date'] ?></div>
300+
<div class="date"><?php echo $post['created_date'] ?></div>
301301
<div class="body">
302302
<?php echo $post['body'] ?>
303303
</div>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.