I'm wanting to make a query sring ads script for people that want their ads on my site and I just can't figure out how to do it. Heres what I want to do. If I want to view their banner I put http://www.wickedjuggalos.com/advertise/ads.php3?banner&name and if I want to go to their page I use the link http://www.wickedjuggalos.com/advertise/ads.php3?link&name. Now of course "name" would be replaced with their site name. I want them to get a url/banner that I put in the script for it to get. I want them all to be listed in the script and if an ID that doesn't exist is given it will show the banner http://www.wickedjuggalos.com/advertise/images/error.gif. Help with any of this (mostly the query string part...I can do the error part myself) will be greatly appreciated.
I would strongly recommend using phpads. A link can be found from projects on php.net