Hi, I'm hoping someone can sort me out here. I want to make a really small simple way to put a series of images together, but all I've been able to find is how to include php or html files like in the example here:
<? if($s=="home"){ include("home.html"); } elseif($s=="about"){ include("about.html"); } elseif($s=="contact"){ include("contact.html"); } //if no page is defined, then display your main content... else{ include(news.php); } ?> What I'd love to do is cut out the need to make an html file because all I want to do is stuff in a single image per "page", as a kind of gallery. Kind of like: } elseif($s=="contact"){ include("contact.jpg"); } But that doesn't work obviously.... is there some other way to write it? I've exhausted my limited PHP knowledge, and I don't seem to be hitting the right google terms for online tutorials. Thanks for your time, Alida _________ Alida Saxon http://www.alidasaxon.com ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.