Welcome Guest, Not a member yet? Register   Sign In
Inserting special characters in database
#1

[eluser]coolcom[/eluser]
Hi

I am having trouble inserting some dansih letters into my database.
Everytime i try it just inserts a question mark (?) instead.

Here is my code:

$page_title = $this->input->post('page_title');

$route_data = array(
'fake_route' => $link,
'title' => $page_title,
'navigation_order' => $navigation_order,
'front_nav' => $front_nav,
'real_route' => 'pages/index/'.$link,
'parent_id' => $this->input->post('parent')
);

$this->db->insert('routes', $route_data);

It is the field page_title where I need special characters.

I hope you can help me solve this problem.


Messages In This Thread
Inserting special characters in database - by El Forum - 10-11-2009, 09:14 AM
Inserting special characters in database - by El Forum - 10-11-2009, 09:21 AM
Inserting special characters in database - by El Forum - 10-11-2009, 10:13 AM
Inserting special characters in database - by El Forum - 10-13-2009, 07:58 AM
Inserting special characters in database - by El Forum - 10-13-2009, 08:25 AM
Inserting special characters in database - by El Forum - 10-13-2009, 08:54 AM
Inserting special characters in database - by El Forum - 10-15-2009, 04:22 AM
Inserting special characters in database - by El Forum - 10-15-2009, 12:34 PM
Inserting special characters in database - by El Forum - 10-15-2009, 12:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB