how about the page you want it to go to?
i always write 1 script that handles adding, editing, updating, and deleting. so $PHP_SELF would probably work, and then either use hidden variables or the button value itself to determine what to do in the script.