can I have multiline text with GD and PHP?

Posted by alekone on Stack Overflow See other posts from Stack Overflow or by alekone
Published on 2010-06-01T16:17:30Z Indexed on 2010/06/01 16:43 UTC
Read the original article Hit count: 223

Filed under:
|
|
|
|

hello! 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?

$theText = (isset($_GET['caption']))? stripslashes($_GET['caption']) :'';
imagettftext($baseImage, $textSize, $textAngle, $textXposition, $textYposition, $textColor, $fontName, $theText);

© Stack Overflow or respective owner

Related posts about php

Related posts about beginner