Hi,
I'm generating an image with some information from a databse, and then I save it to a file. Then when I try to show the image it doesn't appear completely, just the first part that is not read from the database, and so I must 'refresh' the page... and I don't know what is the problem.
The code is like this:
$img = imagecreate($tam_x, $tam_y);
imagefilledrectangle(.....);
imagerectangle(.....);
// the first time is shown upto this
.......
imagegif($img, "tmp/img".$hora.".tmp");
and then in the html
<img src='tmp/img<?php echo $hora; ?>.tmp'>
Thank you,
Christian