Connecting Tech Pros Worldwide Forums | Help | Site Map

Help

netnews.agilent.com
Guest
 
Posts: n/a
#1: Mar 8 '06
I want to use PHP to process input from a form,
How can I do it?



Jerry Stuckle
Guest
 
Posts: n/a
#2: Mar 8 '06

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@attglobal.net
==================
noone
Guest
 
Posts: n/a
#3: Mar 8 '06

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...



Closed Thread