A
Anonymous
Guest
I would do it like this:
Since the ".png" part doesn't change, I put it outside of the PHP tags.
Code:
<img name="foto" src="immagini/avatar/<?php echo $_GET['avatar'];?>.png" border=1 height=100 width=100>
Since the ".png" part doesn't change, I put it outside of the PHP tags.