2

我的语言文件(application/language/english/english_lang.php);

$CI =& get_instance(); 

foreach($CI->db->get('language')->result() as $language):

    $lang[''.$language->name.''] = "".$language->turkish.".";

endforeach;

我的数据库;

选择id, name, english, turkish,create_datelanguage哪里 1

我的视图文件;

echo lang('title','title');

但它不工作......

4

1 回答 1

0

This looks like the solution:

Language Class Extended DB

于 2014-04-10T09:41:51.160 回答