Welcome Guest, Not a member yet? Register   Sign In
Unicode doesn't be inserted into DB
#1

[eluser]cleansugar[/eluser]
CodeIgniter recent version:

In database.php, utf8 and utf8_general_ci are setted.

in model.php

function insertData($idname, $password)
{
$data = array('id' => '한글', 'password' => 'password');
$this->db->insert('mydb', $data);
}

In database '???', 'password' are inserted

How can I insert Unicode into database?


Messages In This Thread
Unicode doesn't be inserted into DB - by El Forum - 03-16-2009, 06:32 AM
Unicode doesn't be inserted into DB - by El Forum - 03-16-2009, 06:39 AM
Unicode doesn't be inserted into DB - by El Forum - 03-16-2009, 06:51 AM
Unicode doesn't be inserted into DB - by El Forum - 03-16-2009, 06:59 AM
Unicode doesn't be inserted into DB - by El Forum - 03-16-2009, 07:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB