Commit 014b18f4 authored by airox's avatar airox

Small documentation issues, insert query which hadn't had a value, reference...

Small documentation issues, insert query which hadn't had a value, reference to an example above should be below
Ticket: 656
parent 4275c665
...@@ -214,7 +214,7 @@ $event->save(); ...@@ -214,7 +214,7 @@ $event->save();
The last line would execute sql (in sqlite): The last line would execute sql (in sqlite):
<code> <code>
INSERT INTO event (name, timepoint) VALUES (?, 'NOW()') INSERT INTO event (name, timepoint) VALUES ('Rock festival', 'NOW()')
</code> </code>
+++ Getting record state +++ Getting record state
...@@ -510,7 +510,7 @@ foreach($users as $user) { ...@@ -510,7 +510,7 @@ foreach($users as $user) {
} }
</code> </code>
The example above shows how to do this more efficiently by using the DQL API. The example below shows how to do this more efficiently by using the DQL API.
<code type="php"> <code type="php">
// load everything here // load everything here
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment