note 110911 added to function.explode
| From: | dr dot miljenko at gmail dot com | Date: | Fri, 21 Dec 2012 23:32:34 +0000 |
| Subject: | note 110911 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192635@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.199
Probable Submitter: 93.86.164.90
----
Manual Page -- http://php.net/manual/en/function.explode.php
Edit -- https://master.php.net/note/edit/110911
Del: integrated -- https://master.php.net/note/delete/110911/integrated
Del: useless -- https://master.php.net/note/delete/110911/useless
Del: bad code -- https://master.php.net/note/delete/110911/bad+code
Del: spam -- https://master.php.net/note/delete/110911/spam
Del: non-english -- https://master.php.net/note/delete/110911/non-english
Del: in docs -- https://master.php.net/note/delete/110911/in+docs
Del: other reasons-- https://master.php.net/note/delete/110911
Reject -- https://master.php.net/note/reject/110911
Search -- https://master.php.net/manage/user-notes.php