> give a name to the buttons ie: Next
>
>
> and check in php
>if(isset($Next.x) && isset($Next.y)){
> // do somehting here
> }
> ?>
Actually, when an image is clicked on to submit the form, two variables
are created. If the image is named 'Next' like the example above, then
you'll have $N
Johan Holst Nielsen wrote:
>> 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?
>
>
>
> if(isset($_POST["submit_back"])) {
> //go back
> }
> else {
> //go forwar
> 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?
" method="post">
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
give a name to the buttons ie: Next
and check in php
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. Ho
4 matches
Mail list logo