CodeIgniter Forums

Full Version: Codeigniter's active record ignoring everything after “/”
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

User inputs data like a/b

code we use to save the data

PHP Code:
   $data = array('text'=>$text);


data which is saved in the database is a/ nothing after / data after / is not saved in the db


db column size is not any issue since it is varchar and size 10
I' am running CI 3.1 with Query Builder and it works fine for me so you must have some other problem in your code.

Mine is used in my drag & Drop Menu Manager and it will save a / to the database varchar field.
maybe i should give an update :|