![]() |
parsing /n/r with random text
Hai there, I'm using a little script to output random text to an image (PNG). But the problem is that it doesnt parse /n/r inside it, to make the new lines.
It just, displays them. Here is the script: PHP Code:
|
hmm, not sure, but have you tried this:
PHP Code:
|
Well, its outputted to an image... so, it would just put <br /> in there since gifs don't parse html last I checked ~_^
right? |
I ended up doing this for lack of a better option
PHP Code:
|
How about exploding the string at '/r/n' or '/n' and then using ImageTTFText in a loop or something to print out the exploded strings.
Just a thought. :) |
All times are GMT. The time now is 03:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|