A few things, one you can't just pass an entire array through the URL without serialize()ing it, or passing a var for each element of the array.
Why don't you pass a number or something to the edit_pics.php page which indicates which image to edit?
It's not entirely clear what you're trying to do either, you're print()ing pic[0], pic[1], pic[2], even though it appears as if $pic is a string, not an array...
Later you treat it as a string when you use it as $pic in the <img src=""> tag.
Also, double quote all HTML attributes, ie: <img src="image.png" /> and NOT <img src=image.png />
And you missed a closing </p> tag too.