how would i make it make a new line below the one that the first text is in?
this is the script that im using
$txt = "hello";
define("TextFONT", "3");
function ConvertColor($hexVal){
$ColorVal = array(3);
for($i = 0; $i < 3; $i++)
$ColorVal[$i] = HexDec(substr($hexVal, $i * 2, 2));
return $ColorVal;
}
$width = strlen($txt) * ImageFontWidth(TextFONT);
$offset = 2;
$imgFRAME = ImageCreate($width, ImageFontHeight(TextFONT)+$offset);
list($red, $green, $blue) = ConvertColor($bg);
$bgCOLOR = ImageColorAllocate($imgFRAME, $red, $green, $blue);
list($red, $green, $blue) = ConvertColor($fg);
$fgCOLOR = ImageColorAllocate($imgFRAME, $red, $green, $blue);
ImageFill($imgFRAME, 1, 1, $bgCOLOR);
ImageString($imgFRAME, TextFONT, 1, 1, $txt, $fgCOLOR);
header("Content-type: image/gif");
ImageGIF($imgFRAME);
ImageDestroy($imgFRAME);
i want it to say something else below the hello but idk how