Welcome Guest, Not a member yet? Register   Sign In
Include anchors on $lang['key'] text
#1

[eluser]JuanG[/eluser]
Hi, I just added language localization to my web and everything is working as expected.

There's just one thing I haven't been able to figure out.

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 news..."

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 news...";

I looked at some examples where you can use variables with "%s" but this case is a bit different.

Any ideas?

Thanks in advanced,


Messages In This Thread
Include anchors on $lang['key'] text - by El Forum - 02-27-2012, 03:27 AM
Include anchors on $lang['key'] text - by El Forum - 02-27-2012, 04:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB