Hey there. I have a standard php-mysql website. I built this little consol where users can update text on the site. Because the text pulled from the database must be a single string (for javascript reasons) I need to find away to escape "returns".
When a user presses the return key, the data pulled out of mysql also contains that return which ruins my javascript.
Is there a way I can replace return with <br><br>? That would be very cool...
Stu