imagepng
Posted: Mon Jul 27, 2009 8:02 pm
Ok. So I can save my image. It changes every time someone submits a form, but it doesn't change the image on the page itself. you need to refresh the page to get it to display the new image. how can I fix this?
how i call the image;
all {VAR} is replaced with real values. correct values at that//save image
imagepng($bg, "data/games/$gameid.png");
how i call the image;
Code: Select all
<input type="image" src="{MAPPATH}" height="{HEIGHT}" width="{WIDTH}" border="0" name="image">