Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Aaron #1
PHP nav bar
I am making a nav bar that identifies what directory and file the user is
on. If in a certain directory a block of links show up relating to the
directory. If not they are not there.
The problem I am having: I am using one function that is given a different
variable from each block, and I want to determine if the function returns
true or passes for each variable. Does anyone have an idea?
Aaron Guest
-
mzanime.com #2
Re: PHP nav bar
Why does it need to be so complex? Why notjust check the directory then
display the proper code if the directory matches?
if($_SERVER['PHP_SELF'] == "/ds/") {
echo " ..." }
elseif($_SERVER['PHP_SELF'] == "/fg/") {
etc, etc...
mzanime.com Guest



Reply With Quote

