I have a page set up where if you go to the url index.php?page=news you get the news from a database and a switch statment in that page. If i want a image on the page when you go to http:www.peter.com but not when you include index.php?page=news what would i do.
you mean, if index.php is requested without parameters, there should be no image?
if(isset($page)) // if the page parm is there { echo "<img src= etc ....>"; }
this includes the image only if the page parm is there.
is this what you need?
Thats exactly what i needed to know.. Thank you very much