Welcome Guest, Not a member yet? Register   Sign In
$this->lang->line with passing parameters
#1

Dear all,

I have the string with passing parameters as below:
$lang["error"]="this is error {0} with msg {1}"

How to pass {0} and {1} to $lang["error"] and show on php webpage??

$this->lang->line("error", "crazy", "want to do something good");
Is it possible??
Reply


Messages In This Thread
$this->lang->line with passing parameters - by rchiu5hk - 10-02-2015, 04:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB