Welcome Guest, Not a member yet? Register   Sign In
1.6 mysql num_rows error

ah sweet, no more manually setting it.
don't spos you've made lots of helper string functions support utf-8 too? (strlen)

I can dream can't I Smile

Quote:change the extra code in your model
$this->db->simple_query("SET NAMES 'utf8'");
the db->query tries to determine the number of rows returned
db->simple_query should not

before I upgrade from 1.5.4 to 1.6 I want to test the fix above as suggested earlier in this thread. But I have a question:
Quote:change the extra code in your model
Isn't there a more general way to change this in 1 place instead of ALL my models?

[eluser]Derek Allard[/eluser]
Yes. If you follow the upgrade instructions you'll see 2 new config items
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
This is a long thread and your question is very vague, so I'm not sure that answers what you are after, but I think it does.

Theme © iAndrew 2016 - Forum software by © MyBB