Ok wonderful people I am trying to use imagecopy to well you know copy part of an image onto another, it looks simple the function is easy to understand but it is not working, now i know my hosts support gd as i ahve used some other gd functions and it's not kicking up any errors when i run this, so if anyone can see what i'm doing wrong i would be eternally greatful
<?php
$myImage = imagecreatefromgif("main.gif");
$source = "hello.jpg";
imagecopy($myImage,$source, 30, 30, 0, 0, 20, 20);
imagegif($myImage,"mainnew.gif");
print "<html>
<head>
</head>
<body bgColor='cccccc'>
<center>
";
print "<br><img src='mainnew.gif'><br>";
?>
and all you see is the original main.gif.
Thanks Phil