I'm trying to add new line at the end of string, so I could better see <option>
in new lines, hovewer I get string with "\r\n" as text instead of new lines. What is wrong with code ?
foreach ($xml['ROW'] as $ar) {
$tekstas = $ar['zz'] . ' (' . $ar['xx'] . ')';
$insert .= '<option value="' . $ar['Adresas'] . '">' . $tekstas .'</option> "\r\n"' ;
}
echo nl2br(htmlentities($insert));