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.


Messages In This Thread
tinymce activerecord and database - by El Forum - 09-06-2008, 07:51 AM
tinymce activerecord and database - by El Forum - 09-06-2008, 10:07 AM
tinymce activerecord and database - by El Forum - 09-07-2008, 06:52 AM
tinymce activerecord and database - by El Forum - 09-07-2008, 12:14 PM
tinymce activerecord and database - by El Forum - 09-07-2008, 02:51 PM
tinymce activerecord and database - by El Forum - 09-08-2008, 01:45 AM
tinymce activerecord and database - by El Forum - 09-08-2008, 01:47 AM
tinymce activerecord and database - by El Forum - 09-08-2008, 01:51 AM
tinymce activerecord and database - by El Forum - 09-08-2008, 01:58 AM
tinymce activerecord and database - by El Forum - 09-08-2008, 02:08 AM
tinymce activerecord and database - by El Forum - 09-08-2008, 02:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB