diff options
author | admin <devnull@localhost> | 2006-08-26 21:28:37 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-08-26 21:28:37 +0200 |
commit | b071bb5a92aade551345a495fb13f5678f3978d0 (patch) | |
tree | 803575f71b327ad5782206331d82bf5c6dfc0cc0 /user_guide/libraries/database | |
parent | e07fbb376a741e21e69a182eada322c4d3b7e62e (diff) |
Diffstat (limited to 'user_guide/libraries/database')
-rw-r--r-- | user_guide/libraries/database/active_record.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/libraries/database/active_record.html b/user_guide/libraries/database/active_record.html index 8fc3b8131..6e5d6126a 100644 --- a/user_guide/libraries/database/active_record.html +++ b/user_guide/libraries/database/active_record.html @@ -557,7 +557,7 @@ You can optionally pass this information directly into the update function as a <p>Generates a delete SQL string and runs the query.</p>
<code>
-$this->db->delete('mytable', array('id', $id));
+$this->db->delete('mytable', array('id' => $id));
<br /><br />
// Produces:<br />
// DELETE FROM mytable <br />
|