note 110911 rejected from function.explode by googleguy
| From: | googleguy@php.net | Date: | Sat, 22 Dec 2012 02:58:13 +0000 |
| Subject: | note 110911 rejected from function.explode by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192639@lists.php.net to get a copy of this message | ||
Note Submitter: dr dot miljenko at gmail dot com
----
I have a textarea that has height 30px and width 150px
When i wrote i continuous sentence, i fits fine as it should.
Since the sentence is a string that does not know for new line, i cant use php to paste that text
directly to image and watermark it...
So the question is.
How to detect in textarea where a new line starts? And explode that string to n strings, depends on
number of lines.