Menu

  • 17 years ago

    Could someone point me 2 a good PHP article on making Menus?


    p.s. Just stating the obvious but, the menu must be pure php. no javascript.

  • 17 years ago

    mm... you do realize php is mainly a server side
    language??? what kind of menus are you trying to
    create? if you are trying to create 'mouseover' menus
    (one of the most popular menus) -- you need to use
    javascript...

  • 17 years ago

    hey look, i'm used to asp by now  , and my friends decided to make the side in php. i don't know why since none of us knows php. so i'm forced to learn php and have to code the entire site in php along with school and homework and still meet my 1 month deadline.


    besides i do windows programming. webprogramming is just kinda like a second hobby.


    so i'm sorry if i asked a stupid question, and yes i do know that php is server side. same as asp and perl.


    p.s. (since when are u a guru?)

  • 17 years ago

    hehe, thanks for pointing that out...


    didn't realize I was a guru already yet...


    so yes, as I was saying young grasshopper... (hahahahaahaha! )


    anyways... ok -- so what kind of 'menu' are you trying to create?
    asp is a server side side language too -- so I'm not sure what you
    mean by 'creating a menu' in that language either... unless you mean
    something like HTML links, in which case it's pretty easy.
    <% response.write "<a href=link.htm>link</a> %> and the equivalent
    php code would be:


    <? echo "<a href=link.htm>link</a>"; ?>


    actually -- if you already program in asp (which is actually pretty
    easy btw) -- then if you know a little c/c++, php is just as easy...
    (it uses some of the same conventions/syntax as c/c++)...


  • 17 years ago

    well u are right. i'm not having problem with the syntax or anything. but in just need the learn the langauge. and it's coming along. as for the menu i'm gonna use javascript


    hmmm grasshopper?  i thought i was atleast a leafjumper

  • 17 years ago

    I've created a expandable/contractable php menu at: http://www.gringod.com which is database driven.


    Is that the kind of thing you're after?  If so I can beautify the code a bit and post it here for you.

  • 17 years ago

    gringod yes that is a good start of what want. if you could i'd like to take a look at the source. my email is in my autosignature.
    thanx


    NOTE: me walk with a 100kg hamer and looks around and says: "Where's coolio"?

  • 17 years ago

    ah, ok... that's what I thought you might be asking...
    but that is a supa-dupa long way of coding a menu...
    and it doesn't have to be done in php... you could
    (if you were really bored), even created a whole bunch
    of HTML files to simulate that kind of menu...!


    and hehe, you walking around w/the hammer, so you
    can tell me how dumb you feel (cuz it was such an
    EAAAAAAAAAASY answer ) and hammer yourself
    on the head?!?!?!?! hehe

  • 17 years ago

    coolio. Read Very VERY carefully.


    Quote:
    gringod yes that is a good start of what want.

    where in that sentence do you see that that was exactly what i was after?


    i said it was a good beginning. Plus it'll help me learn php faster.


Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“If Java had true garbage collection, most programs would delete themselves upon execution.” - Robert Sewell