I need to create an array and then serialize it and save to DB. My idea is something like that:
foreach ($this->lang->lang_list() as $_lang => $_language)
$_lang => $this->input->post('header_'."$_lang"),
it be like:
$header = array('en' => 'english header from POST',
'ru' => ' russian header from POST',)
but I have no idea how to use foreach which should loop the list of available languages in this situation.