Hi I´m using a guestbook from flash-db and my problem is that it doesn´t suport linechanges when typing a message.
The original code was
$Submit = $_POST["Submit"];
$Rubrik = $_POST["Rubrik"];
$Name = $_POST["Name"];
$Comments = $_POST["Comments"];
And I replaced it with this after consulting some foruma etc…
$Submit = $_POST["Submit"];
$Rubrik = $_POST["Rubrik"];
$Name = $_POST["Name"];
$Comments = nl2br($_POST["Comments"]);
This changes the use of the “enter key” to “br /” now what I wanted was it to change it into <br> so when I load it into my flash textfield it changes lines everytime enter is used.
Any ideas?
Attaching phpfile