Great stuff thanks. !

I made it

Code: 
http://tih.me/advert.php?pm='.$_GET["pm"]
And it worked great, now just need to figure out why all my pictures have just decided not to show

Thanks for your help

RR