i want to show an image if its relevent to the page so i want i check the current page with a url and if they match to show the image but so far no luck
Huh?
It's probably possible, but I'm not entirely clear as to what you are asking. Got any specific examples of exactly what you are trying to do?
You mean something like this?
$url = $_SERVER['REQUEST_URI']; if($url == '/contact.php') { //show some image that has to do with the contact page } elseif($url == '/about.php') { //show some image that has to do with the about page } //etc.
thank you EPJS