Selena
February 3rd, 2007, 06:24 PM
I'm trying to display a graphics page. But i want to have a title for each graphic. The graphics are coded using php functions, and I was thinking if I named the files like Darth_Vader (if the graphic invloved Darth Vader), then i could have the title be Darth Vader...
I was trying to use something like $filename but it didn't seem to work, any chance anyone could help me. PM me i you'd like to see the actual site in action and what I'm talking about. But basically what i'd had was <div class="head"><?php echo $filename;?>Myspace Graphic</div>
And it didn't show the name, only the myspace graphic. I figured i'd have to define $filename but i'm not sure how.
I was trying to use something like $filename but it didn't seem to work, any chance anyone could help me. PM me i you'd like to see the actual site in action and what I'm talking about. But basically what i'd had was <div class="head"><?php echo $filename;?>Myspace Graphic</div>
And it didn't show the name, only the myspace graphic. I figured i'd have to define $filename but i'm not sure how.