tinymce activerecord and database

[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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.