Welcome Guest, Not a member yet? Register   Sign In
AJAX search using dropdown troubles
#4

[eluser]CI_Newb[/eluser]
I tried retrieving the data then formatting it.

Code:
$template = $row['template'];
$template = nl2br($template);
$template = str_replace('<br />', "\n", $template);

echo $template;

But it appears that IE just ignores any \n or <br /> in the text.


Messages In This Thread
AJAX search using dropdown troubles - by El Forum - 04-13-2011, 08:10 PM
AJAX search using dropdown troubles - by El Forum - 04-13-2011, 10:09 PM
AJAX search using dropdown troubles - by El Forum - 04-13-2011, 10:37 PM
AJAX search using dropdown troubles - by El Forum - 04-13-2011, 11:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB