Announcement

Collapse
No announcement yet.

HTML Editor Field Not Showing Right in Grid App as Multi-line Text

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTML Editor Field Not Showing Right in Grid App as Multi-line Text

    A form accepts entry into an HTML Editor field in my project. I have a grid app to show the field in this table but the problem is "\r\n" appears literally within that field in the grid app, in addition to the new lines. Everything else seems to be fine.

    I've tried in PHP {fld} = str_replace("\r\n", "<br>", {fld}) as well as fld = REPLACE(fld, '\r\n', '<br>') directly in MySQL but neither makes a difference.

    Anyone has a solution?
Working...
X