Menu
Hello,
i declare a variable some place in a php file as follows
$data[‘name’] $this->language->get(‘name’);
and just below i try to show it
echo $name ;
i get this error : undefined variable work
i change the declaration as follows
$name =$this->language->get(‘name’);
i works .
But code has to work with $data keyword .. (i try to modify a framework called Opencart)
what is that i do wrong with $data ??
Thank you..