Jojee
10-18-2008, 02:37 AM
Oookay. So I've been trying forever to make the title do what I want, and it seems like it should be simple! But I can't get it to work. @_@ So help. I promise I won't figure this out in 15 minutes and say "Never mind." xD
I stripped the page down to the basics. This is my script:
100 x 100 Avatars (http://neskaya.net/x/avatartest/code.txt)
This is the script in action:
100 x 100 Avatars (http://neskaya.net/x/avatartest/)
<b>Explanation</b>: What it does is basically pulls from each directory any avatars I upload and displays them on the site. There's the $catname variable which shows the name of the folder the avatars are in minus any underscores.
What I want is to also display the $catname in the title, but it doesn't work because I think it hasn't been declared and I tried a bunch of crap, and I'm confused? xD
For example, if you click the "Asian Girls" category, it takes you to the page. I can get the words "Asian Girls" to display on the page via $catname, and Asian_Girls is the name of the folder all of those avatars are in.
The title to all the pages right now is "100 x 100 Avatars." How would I get it to display "100 x 100 Asian Girls Avatars" instead, and modify for all of the other categories as well? :3
Um so if someone has a lot of time... xD Thanks~!
I stripped the page down to the basics. This is my script:
100 x 100 Avatars (http://neskaya.net/x/avatartest/code.txt)
This is the script in action:
100 x 100 Avatars (http://neskaya.net/x/avatartest/)
<b>Explanation</b>: What it does is basically pulls from each directory any avatars I upload and displays them on the site. There's the $catname variable which shows the name of the folder the avatars are in minus any underscores.
What I want is to also display the $catname in the title, but it doesn't work because I think it hasn't been declared and I tried a bunch of crap, and I'm confused? xD
For example, if you click the "Asian Girls" category, it takes you to the page. I can get the words "Asian Girls" to display on the page via $catname, and Asian_Girls is the name of the folder all of those avatars are in.
The title to all the pages right now is "100 x 100 Avatars." How would I get it to display "100 x 100 Asian Girls Avatars" instead, and modify for all of the other categories as well? :3
Um so if someone has a lot of time... xD Thanks~!