al3x8730 Posted September 16, 2008 Share Posted September 16, 2008 I'm using the image script (pretty much) as defined on http://us.php.net/manual/en/function.imagestring.php How would I go about making more than 1 line of text on the image? I tried using like '<br />' but that just shows in the image then Link to comment https://forums.phpfreaks.com/topic/124538-mutliable-lines-on-a-generated-image/ Share on other sites More sharing options...
DarkWater Posted September 16, 2008 Share Posted September 16, 2008 <br /> is only HTML and nothing else at all uses it. The real character for new lines is "\n" or 0x0A. I'm not sure if newlines work in imagestring() though. Try it, but if it doesn't work, you'll just need to use the function twice. Link to comment https://forums.phpfreaks.com/topic/124538-mutliable-lines-on-a-generated-image/#findComment-643163 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.