Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php read textarea line by line

$text = trim($_POST['textareaname']); // remove the last 
 or whitespace character
$text = nl2br($text); // insert <br /> before 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #read #textarea #line #line
ADD COMMENT
Topic
Name
2+2 =