I would like to specify a graphic that will appear in my sidebar based on which php file is calling it. Problem is, I'm not a coder. I want something essentially like this:
if thisfile == index.php then pic1.jpg
else pic2.jpg
endif
thisfile would need to represent the name of the current php file that contains this code. And, of course, the rest of the syntax would need to be written correctly.
Thanks in advance to any coders who can help.
http://www.newscorpse.com