I can't figure out how to tell which button was pressed by a user when i'm
using a "button" instead of a standard "submit" form element.

This works:

<input type="submit" name="parent" value="foo">
$parent will equal "foo"

This doesn't work:

<button type="submit" name="parent" value="foo"><img
src="icon.gif"></button>
$parent will equal "<img src="icon.gif"> NOT "foo"

How do I get the value of "foo" to be returned in $parent and still use a
graphical icon instead of a standard submit button?

thanks,
durwood ([EMAIL PROTECTED])



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

Reply via email to