I have a PHP echo function inside of a HTML link, but it isn't working. I want to have an image location, defined in img src, be in part of the clickable link of the image. The page will have multiple images doing the same thing, so I am trying to use PHP to automate this.

```
<a href="http://statuspics.likeoverload.com/<?php echo $image; ?>">
  <img src="<?php $image=troll/GrannyTroll.jpg?>" width="100" height="94" />
</a>

```