Hi
I have a flash movie where the user inputs a message. The problem is, when they enter a carriage return, they would expect to see it displayed in the output flash movie.
Flash doesn't seem to be able to detect the carriage return, so I was hoping php could.
e.g. I would like to transform
$message = uno
due
tre
to
$message = uno<br>due<br>tre<br>
(or similar... \n is a good start)
I've tried
$message = nl2br("$message");
but nothing (at all) happened.... is this the correct usage?
Thanks in advance!