>In all fairness to IE, it WILL send the value of each button - but PHP >cannot distinguish between them all because you have given them all >the same name! :) > >RL> Does <input type='submit'...> allow this sort of functionality? > >If it has a unique name, sure: > ><input type="submit" name="something-unique">
So what if I want to know which button was pressed to submit the form? At the moment I have: switch ($_POST['submit']) { case "edit": ... case "new": ... } R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php