Welcome Guest, Not a member yet? Register   Sign In
tinymce activerecord and database
#11

[eluser]Référencement Google[/eluser]
I am not sure where from comes your problem, but there are few things here that you can change:

- $db['default']['dbcollat'] = "utf8_general_ci"; <== Put that in the same encoding as your database
- I would personally use ENT_QUOTES as the second parameter of htmlentities (still I don't think this is your bug)
- If you try to get only 1 result, it is better to return your result using $query->row() instead of $query->result(). Please check: http://ellislab.com/codeigniter/user-gui...sults.html
- You can try also to make a print_r($currentPlac) in your view to see what's inside the array.




Theme © iAndrew 2016 - Forum software by © MyBB