I have a code that look like this.
$language = "eng";
$append = "_sidebar.txt";
$read_text_file = "languages\\$language$append";
$sidebar = file($read_text_file);
$smarty->assign("sidebar_link",$sidebar);
Why does all variables in smarty all look like this:
Smarty_Variable Object (3)
->value = Array (13)
0 => "XX<i>\r</i><i>\n</i>"
1 => "XX<i>\r</i><i>\n</i>"
2 => "XX<i>\r</i><i>\n</i>"
3 => "XX<i>\r</i><i>\n</i>"
4 => "XX<i>\r</i><i>\n</i>"
with the XX representing single words. Where does \r\n come from??