Skip to content
Advertisement

can I have multiline text with GD and PHP?

I’m trying to output multiline text with GD+PHP but can’t get it working. my php knowledge is really basic. here’s the code, any idea on how to output 2 or 3 lines of text?

JavaScript

Advertisement

Answer

JavaScript

you have to add x pixel to move it downwards to the X position. keep in mind that your whole image should be high and wide enough to fit the text.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement