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!