I have the following code
for ($i = 1; $i < 32; $i++ ) {
$ximage = 25 + (15 * $i);
imageline ($im, $ximage, 225, $ximage, 230, $black);
imagechar ($im, 2, $ximage-2, 235, $i, $black);
imagefilledrectangle ($im, $ximage-2, 100, $ximage+2, 225, $blue);
}
However when I create the image I only see text which is one character long. It doesn't display the others.
Can anyone help? Thanks