Yes, you can.   Simply give the buttons differnt names:
<INPUT type=submit name=submit1 value="Submit This">
<INPUT type=submit name=submit2 value="Submit That">

in the PHP script:
extract($HTTP_POST_VARS);
is( isset($submit1) )
{
}
else if( isset($submit2) )
{
}

----- Original Message ----- 
From: "Greg" <[EMAIL PROTECTED]>
To: <>
Sent: Tuesday, February 25, 2003 2:11 PM
Subject: [PHP] Submit buttons


Is there any way that I can have a form submit to different pages depending
on the submit button that is pressed?  Thanks!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to