no, not constants, just variables.
I have 7 tabs. And I want the corresponding tab to be lit up.
So that would be:
# Home
# Services
# About Us
# Contact
# Espaņol
# Forum
# Blog
and in each "page" they have
" $name = page-name; "
If I define a constant, would it still work? because the main page calls the header, and the header processes the name to match it up accordingly.
thanks!
You don't need to define constants. You should be quoting your text. From what I see, you shouldn't be using globals, either. You can pass parameters to your "menu" function.
I've never used PHP on BSD, but you can try modifying your echoes. For example:
echo "$link_pt1$link_pt2$enp$enu$link_02$php$link_pt3$service$link_pt4";
to
echo $link_pt1.$link_pt2.$enp.$enu.$link_02.$php.$link_pt3.$service.$link_pt4;
You're only concatenating your variables (no literals,) so there's no need for quotes.