How do I use a pull-down menu with PHP? Or can I?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Phillip Russell

    How do I use a pull-down menu with PHP? Or can I?

    Is there a way for PHP to see what is selected in a pull-down menu. So
    that i can use a switch statement to display certain information. If
    not how can I combine javascript with it to work.
  • JAS

    #2
    Re: How do I use a pull-down menu with PHP? Or can I?

    Phillip Russell wrote:[color=blue]
    > Is there a way for PHP to see what is selected in a pull-down menu. So
    > that i can use a switch statement to display certain information. If
    > not how can I combine javascript with it to work.[/color]

    If you talking about a pull-down menu in a regular form then sure.
    Create your form, send the content to a page and then use $_POST or
    $_GET variables (depending on your form) to retrieve the value ...



    J

    Comment

    Working...