开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜