summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-02-16 20:05:25 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-02-16 20:05:25 +0100
commit9b77fe3e39894af4816a662630c442ab89f16e31 (patch)
tree2fd748fa452e213234c203c8934cce5f3cb86d42 /user_guide/libraries
parent33ed0f37b6b8f2223cd3362bf8fca28102ab67c6 (diff)
Updated input documentation to use NULL instead of empty string for new post() and get() changes.
Diffstat (limited to 'user_guide/libraries')
-rw-r--r--user_guide/libraries/input.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html
index 844e99ab8..0615fe622 100644
--- a/user_guide/libraries/input.html
+++ b/user_guide/libraries/input.html
@@ -139,7 +139,7 @@ else<br />
<code>
$this->input->post(); // returns all POST items with XSS filter
<br />
- $this->input->post('', FALSE); // returns all POST items without XSS
+ $this->input->post(NULL, FALSE); // returns all POST items without XSS
</code>
<h2>$this->input->get()</h2>
@@ -155,7 +155,7 @@ else<br />
<code>
$this->input->get(); // returns all GET items with XSS filter
<br />
- $this->input->get('', FALSE); // returns all GET items without XSS filtering
+ $this->input->get(NULL, FALSE); // returns all GET items without XSS filtering
</code>
<h2>$this->input->get_post()</h2>