Why can't I use trim() in CodeIgniter 3.0? |
Because of the version of apache and php, I cannot use CI's form_validation library and filter function, I have to write some native code to filter the special character. However, I cannot use trim() on model or controller, even though I add $this->load->library('string'). Anyone knows how to solve it? Or anyone give me some suggestion to do it without using CI's form validation. Thank you!
|
Messages In This Thread |
Why can't I use trim() in CodeIgniter 3.0? - by xietao0221 - 07-22-2015, 05:50 PM
RE: Why can't I use trim() in CodeIgniter 3.0? - by Wouter60 - 07-23-2015, 12:12 AM
RE: Why can't I use trim() in CodeIgniter 3.0? - by xietao0221 - 07-23-2015, 10:35 AM
RE: Why can't I use trim() in CodeIgniter 3.0? - by mwhitney - 07-23-2015, 01:35 PM
RE: Why can't I use trim() in CodeIgniter 3.0? - by InsiteFX - 07-23-2015, 03:38 PM
RE: Why can't I use trim() in CodeIgniter 3.0? - by xietao0221 - 07-23-2015, 05:00 PM
RE: Why can't I use trim() in CodeIgniter 3.0? - by mwhitney - 07-24-2015, 06:02 AM
RE: Why can't I use trim() in CodeIgniter 3.0? - by Narf - 07-24-2015, 06:09 AM
RE: Why can't I use trim() in CodeIgniter 3.0? - by skunkbad - 07-24-2015, 08:31 AM
RE: Why can't I use trim() in CodeIgniter 3.0? - by ignitedcms - 07-25-2015, 03:08 AM
|