SyntaxFix
Write A Post
Hire A Developer
Questions
You can use following code:
$course_description = nl2br($_POST["course_description"]); $course_description = trim($course_description);