hello,

i'm beginner in all html, css and php and trying to design a site that uses all of them (mainly for learning purposes).

in the site, i have a horisontal menu (currently table but planning to convert to css) on the top of the page, and a vertical submenu that appears on the left side of the page.

the contents of the vertical submenu depend on the selection of the top (horisontal) menu.

assuming that i want to load the contents of the vertical menu from text files using php, how will i know which page i'm currently on so i can load the correct menu?

i have seen some php variables can reveal that info. i've also been thinking on using url php arguments for this purpose.

is there any known 'best' way of going about that? i'm sure it's been used in the past.

also, if you have any general suggestions on the design i described earlier please let me know.

also, can you suggest a good forum for CSS/HTML and general web development?

thank you in advance

regards,

vito

    this

    $_SERVER['PHP_SELF'];
    

    will get you the current page.

    as for the rest of your questions, why not just try stuff and post here if you get stuck (php questions). as for html / css boards, im sure you might find some with a google search. i oftern browse alistapart for css articles.

      hello, thank you for your reply. i've been checking the link you sent...

      i'll get back soon with more specific questions.

      regards,

      vito

        I,m quite new to PHP but i know a bit of HTML and CSS just a quick question are you using a program such as dreamweaver?
        If so i could probably help you with CSS and HTML.

        Regards Pinky 🙂

          Write a Reply...