I'm stuck on this... I'm trying to use a function to select the right array row. So for instance if I type in :
I'll want it to read the mandarin row of the $txt_userpanel_greeting array...
langText (txt_userpanel_greeting, cmn)
Thanks guys... I'm trying to make my website multilingual!
// PAGE TEXT ARRAYS
$txt_userpanel_greeting['eng'] = "Hey ";
$txt_userpanel_greeting['cmn'] = "你好 ";
$txt_userpanel_greeting['tha'] = "สวัสดี ";
$txt_userpanel_greeting['kor'] = "안녕하세요 ";
// /PAGE TEXT ARRAYS
function langText($ftext, $flang)