First of all let me scold you for running Apache and PHP on Windows 9x. The solution would be to make two inputs of type "submit" that have the same name but different values. Then when the form is submitted you check the variable $button_name and execute the relevant code.
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php