[eluser]Callista[/eluser]
i've got it.. YES!
at least.. i think i do.. it's working for now haha...
by ascii_to_entities()
Code:
function edit_hoofdpagina()
{
$naam = $this->input->post('menu_naam');
$status = $this->input->post('menu_status');
$volgorde = $this->input->post('menu_volgorde');
$subtekst = $this->input->post('menu_subtekst');
$plaats = $this->input->post('menu_plaats');
$ID = $this->input->post('menu_ID');
$menu_subtekst = ascii_to_entities($subtekst);
$data = array(
'menu_naam' => $naam,
'menu_status' => $status,
'menu_volgorde' => $volgorde,
'menu_subtekst' => $menu_subtekst,
'menu_plaats' => $plaats
);
$this->db->where('menu_ID', $ID);
$this->db->update('menu', $data);
}
the code isn't cleaned up yet and you probably can't read half of it because of the dutch
but still it's working and i'm cheering