• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
passing variables to lang file

#4
[eluser]JuanG[/eluser]
Hi, I was asking myself the same question but regarding to anchors.

Before adding internationalization to my web I had the following string:

Code:
"...is called <strong>&lt;?php echo anchor('www.cnn.com', 'CNN'); ?&gt;</strong>.  It's a..."

Now it won't work when included into:

Code:
$lang['home_dilemma_intro'] = "...is called <strong>&lt;?php echo anchor('www.cnn.com', 'CNN'); ?&gt;</strong>.  It's a...";

Thanks in advanced,


Messages In This Thread
passing variables to lang file - by El Forum - 05-07-2011, 05:57 PM
passing variables to lang file - by El Forum - 05-07-2011, 07:31 PM
passing variables to lang file - by El Forum - 05-07-2011, 08:56 PM
passing variables to lang file - by El Forum - 02-24-2012, 10:02 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.