Get line-break working using PHP GD2 and a <textarea>
I'm trying to figure out how I can开发者_运维问答 put text including line-break from a textarea on an image generated using GD2 library. I tried \n and
, nothing...It's a stupid question but I can't find this information on the web.
Thanks!
GD doesn't support text formatting of that sort. You'll have to manually break the string into multiple lines,and place each one seperately.
精彩评论