codeigniter - Editing the _lang.php files through admin panel without saving to database -


i trying create language tool manage languages in admin panel. have retreived key values fileimport_lang.php file in textbox.so make changes in textbox , save it. , fileimport_lang.php file needs saved these new key values well. on how save fileimport_lang.php file key value pair appreciated.

             <table>                 <tr>                     <?php                     $this->load->helper('language');                     //$this->ci_lang->is_loaded=array();                     $lang_array=$this->lang->load('fileimport','japanese',true);                     //$lang_array=$this->lang->language;                     if (! empty($lang_array)) {                     foreach ($lang_array $key => $values)                     {?>                 <tr>                     <td> <input id="<?php echo $key;?>"type="text" value="<?php echo htmlentities($values);?>"> </td></tr>                 <?php                 }                 }?>                 </tr>             </table>     </div>     <div>         <input type="submit"value="save japanese">     </div> 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -