Heres the problem i have, ive created a graph and now need to put a little star on each change, im trying to use the imagecopy function but cant seem to get it working, heres the code i have:
$image = imagecreatefromjpeg("my url");
$mapimage = imagecreatefromjpeg("http://www.weightloss.co.uk/images/star.jpg");
//Draw HEIGHT lines
$height_x2 = $height_x1 + $xgap;
$height_y2 = $ymax - ($row_restofid['meaHeight'] * 2.1);
imageline($image, $height_x1, $height_y1, $height_x2, $height_y2, $height_linecolor);
imagecopy($mapimage, $image, 0, 0, $height_x2, $height_y2, 10, 10);
$height_x1 = $height_x2;
$height_y1 = $height_y2;
any ideas on what i need to do?




. Yeh was getting a little confused which way round things went in the function, lol. Im using something else now anyways, thx for your time though

Bookmarks