I tried this but it's not chaning new lines to < br >
<textarea name="addesc" id="addesc"><?php echo $data['addesc']; ?></textarea>
$data['addesc'] = preg_replace("/\r\n|\r/", "<br />", $_POST["addesc"]);
$data['addesc'] = trim($data['addesc'])
As such there's no $_POST["addesc"]
on the post.php page. There's $_POST["do"]
. I tried it too. No results.