Cannot find solution. If I copy and paste text into my text area with a hyphen in it and submit the form using post and then return to edit the post the text is not displayed in the text area however it is displayed on the webpage (not in a textarea).
Any idea why this happening?  Below is the code for the text area.
<td><?php
$dn =$row_prop->pdescrip;
$dn = str_replace("<br>", "\r\n", $dn);
$dn = htmlentities($dn,ENT_QUOTES,"UTF-8");
echo "<textarea name='descrip' rows='15' style='width:525' value=\"$dn\">$dn</textarea>"; ?></textarea></td>
|