Welcome Guest, Not a member yet? Register   Sign In
Conacatenate issue
#1

Hi all, how can concatenate language name and code from this helper.
// Get Language by ID
function get_lang_name_by_id($id){
    $ci = & get_instance();
    $ci->db->where('id',$id);
    return $ci->db->get('ci_language')->row_array()['name'];
}
Reply




Theme © iAndrew 2016 - Forum software by © MyBB