Can you break a line in PHP (from a textarea) with enters? If so, how?
I’m… not… entirely certain what you’re asking, but I think the answer you’re looking for is explode("\n")
.
Okay, I’m sorry for the confusion. But how would you break a line purely from the enter key, without /n.
Like this
\n IS the enter key. (actually on some systems it’s \r\n, but \n is still in there.) It’s the escape character for a newline.
1 Like
Oh wow! Thanks. I wasn’t sure!
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.