CodeIgniter Forums
Thanks for help - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: Thanks for help (/thread-31129.html)



Thanks for help - El Forum - 06-07-2010

[eluser]Unknown[/eluser]
Thanks for the help


Thanks for help - El Forum - 06-07-2010

[eluser]WanWizard[/eluser]
This has nothing to do with misleading, but with your usage of loose comparison.
See http://php.net/manual/en/types.comparisons.php

A simple
Code:
if($this->input->post('item')===FALSE)
will make sure it works in all cases.