give a name to the buttons ie: Next
<input name="Next" type="image" id="Next" src="whatever">

and check in php
<?
  if(isset($Next.x) && isset($Next.y)){
  // do somehting here
}
?>

do the same with Previous
"Martin Thoma" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello! I want to make a form (a wizard) which has 2 Submit-Buttons (Back
> & Next). The buttons should be images. How can I make php see, which
> button has been pressed?
>
> Martin
>
>



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

Reply via email to