Help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • netnews.agilent.com

    #1

    Help

    I want to use PHP to process input from a form,
    How can I do it?


  • Jerry Stuckle

    #2
    Re: Help

    netnews.agilent .com wrote:[color=blue]
    > I want to use PHP to process input from a form,
    > How can I do it?
    >
    >[/color]

    I guess I'm not sure what you're asking. But if you're asking where to
    start, it's pretty easy.

    Set the action= in your FORM statement to point to the file containing
    the PHP. That file will then get control when the user clicks on the
    submit button.

    Once you get control, the values from the form are in either $_GET or
    $_POST global arrays, depending on whether your method was get or post.

    Is this what you're looking for?

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • noone

      #3
      Re: Help

      Jerry Stuckle wrote:
      [color=blue]
      > netnews.agilent .com wrote:[color=green]
      >> I want to use PHP to process input from a form,
      >> How can I do it?
      >>
      >>[/color][/color]
      [color=blue]
      > I guess I'm not sure what you're asking. But if you're asking where to
      > start, it's pretty easy.[/color]
      [color=blue]
      > Set the action= in your FORM statement to point to the file containing
      > the PHP. That file will then get control when the user clicks on the
      > submit button.[/color]
      [color=blue]
      > Once you get control, the values from the form are in either $_GET or
      > $_POST global arrays, depending on whether your method was get or post.[/color]
      [color=blue]
      > Is this what you're looking for?[/color]

      A better place to start is to just look at all of the available examples
      in the docs http://www.php.net/manual/en/

      Another is google...



      Comment

      Working...