|
-
Dec 30th, 2008, 09:39 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] n00b include and echo Q
Hi All
I have recently started learning PHP in rather peicemeal fashion, trying bits on my site as i go.
i have been using a switch loop in navigation for a while to include the page's main content. Now I want to change the heading text (that is part of the static page) to reflect teh current page content.
Currently I have settled on using a second switch that echo's out the change dependant on th passed id (as is the other switch is also), but this is a bit heavy handed. Is there any sleeker standards compliant (accessibility v. important) method of acheiving same??
thanks for help or pointers!
Thanks 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|