Re: [PHP] Re: value submit button

2003-07-31 Thread Justin French
Do some testing in a few browsers to see what happens when the user 
hits "enter" or "return", rather than clicking on the button(s)... I 
*think* you need to put in a hidden element.  For example, if you 
wanted "submit2" to be the default value:







Justin



On Friday, August 1, 2003, at 02:36  PM, hu zhenghui wrote:

You can get the button value use code below:








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


[PHP] Re: value submit button

2003-07-31 Thread hu zhenghui
You can get the button value use code below:







-- 

Hu Zhenghui
IBM Certified Solutions Expert IBM WebSphere Studio
 ISBN 7-5606-1163-X
 ISBN 7-900107-51-7
mailto:[EMAIL PROTECTED]
http://huzhenghui.51.net

"Florian SchäFer" <[EMAIL PROTECTED]> дÈëÏûÏ¢
news:[EMAIL PROTECTED]
> Hallo out there,
>
> i hava an document, with one form and two Submit buttons.
> How can i check in the target document wich button is pressed?
> tried something like   if ($submit == 'xxx') .
> anyone has a hint?
>
>




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



[PHP] Re: value submit button

2002-08-02 Thread Ryan

ug

Florian SchäFer wrote:
> Hallo out there,
> 
> i hava an document, with one form and two Submit buttons.
> How can i check in the target document wich button is pressed?
> tried something like   if ($submit == 'xxx') .
> anyone has a hint?
> 
> 


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




[PHP] Re: value submit button

2001-07-24 Thread Micha

hi,
example:

<< html file >>


Your username: 




<< php file >>

if (isset($login)) {
  // Do login...
} else if (isset($remove)) {
  // Remove user...
}

"Florian SchäFer" wrote:

> Hallo out there,
>
> i hava an document, with one form and two Submit buttons.
> How can i check in the target document wich button is pressed?
> tried something like   if ($submit == 'xxx') .
> anyone has a hint?

--
Linux...
Because it works.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]