summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/helpers/captcha_helper.rst
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src/source/helpers/captcha_helper.rst')
-rw-r--r--user_guide_src/source/helpers/captcha_helper.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/helpers/captcha_helper.rst b/user_guide_src/source/helpers/captcha_helper.rst
index 3c56addf3..b40d8a252 100644
--- a/user_guide_src/source/helpers/captcha_helper.rst
+++ b/user_guide_src/source/helpers/captcha_helper.rst
@@ -20,7 +20,7 @@ The following functions are available:
create_captcha()
================
-.. php:function:: function create_captcha($data = '', $img_path = '', $img_url = '', $font_path = '')
+.. function:: function create_captcha($data = '', $img_path = '', $img_url = '', $font_path = '')
:param array $data: Array of data for the CAPTCHA
:param string $img_path: Path to create the image in
@@ -132,7 +132,7 @@ CAPTCHA will be shown you'll have something like this::
$this->db->query($query);
echo 'Submit the word you see below:';
- echo $cap['image'];
+ echo $cap['image'];
echo '<input type="text" name="captcha" value="" />';
Then, on the page that accepts the submission you'll have something like