Date: 09/30/00
- Next message: John McKown: "Re: [PHP] exec 'lynx' failed ???"
- Previous message: Jason Brooke: "Re: [PHP] problems Regarding php session vars"
- In reply to: Richard Creech: "[PHP] How to improve sql query security using php?"
- Next in thread: Matt McClanahan: "Re: [PHP] problem with image button"
- Reply: Matt McClanahan: "Re: [PHP] problem with image button"
- Reply: Meir kriheli: "Re: [PHP] problem with image button"
- Reply: Chris Hayes: "[PHP] Re: problem with image button"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there,
Let's say I have a form with three image buttons:
<input type=image name=add src="add.gif">
<input type=image name=delete src="delete.gif">
<input type=image name=update src="update.gif">
when I process the form I want to see what button was pressed, but
instead of add being set, add.x and add.y get set.
now the question is: what's the best way to check which one is set
since doing this:
if(isset($add.x)) ...
gives a parse error?
thanks,
- Mark
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: John McKown: "Re: [PHP] exec 'lynx' failed ???"
- Previous message: Jason Brooke: "Re: [PHP] problems Regarding php session vars"
- In reply to: Richard Creech: "[PHP] How to improve sql query security using php?"
- Next in thread: Matt McClanahan: "Re: [PHP] problem with image button"
- Reply: Matt McClanahan: "Re: [PHP] problem with image button"
- Reply: Meir kriheli: "Re: [PHP] problem with image button"
- Reply: Chris Hayes: "[PHP] Re: problem with image button"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

