if i understand your question correctly, this should help... 

name the buttons different things

<INPUT TYPE="SUBMIT" NAME="action" VALUE="This">
<INPUT TYPE="SUBMIT" NAME="action" VALUE="That">
<INPUT TYPE="SUBMIT" NAME="action" VALUE="Other">

then, even thought the form is posted to one place,
you can determine which button the user pressed by
checking the value of $action;

> -----Original Message-----
> From: Don [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 01, 2001 11:16 AM
> To: php list
> Subject: [PHP] PHP and push buttons
> 
> 
> Hi,
> 
> How do I make a Push Button call a PHP script?  This is not a POST operation
> per say as I already have "Submit" and "Reset" buttons.
> 
> What I'd like is to have my third button call a PHP script and process all
> the form data in an alternative manner to what the "Submit" does.  As a FORM
> tag can only have one POST operation, I'm in a quandary here.
> 
> Thanks,
> Don
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to