Updated captcha helper example in the documentation to use the correct db field.
diff --git a/user_guide/helpers/captcha_helper.html b/user_guide/helpers/captcha_helper.html
index ab684f3..5169b06 100644
--- a/user_guide/helpers/captcha_helper.html
+++ b/user_guide/helpers/captcha_helper.html
@@ -167,7 +167,7 @@
$this->db->query("DELETE FROM captcha WHERE captcha_time < ".$expiration); <br />
<br />
// Then see if a captcha exists:<br />
-$sql = "SELECT COUNT(*) AS count FROM captcha WHERE word = ? AND ip_address = ? AND date > ?";<br />
+$sql = "SELECT COUNT(*) AS count FROM captcha WHERE word = ? AND ip_address = ? AND captcha_time > ?";<br />
$binds = array($_POST['captcha'], $this->input->ip_address(), $expiration);<br />
$query = $this->db->query($sql, $binds);<br />
$row = $query->row();<br />