On Sat, 2 Mar 2002, Jennifer Downey wrote:

>Can anyone point me to a good tutorial on how to disable a submit button
>once clicked?
>preferably in php.

If you reload the page after the button is clicked then you can simply
pass a $disable variable in your form as a hidden field, then you can
check for the variable before drawing the button the second time.

Sounds more like a javascript thing to me though.  PHP is a server side
scripting language, it's not designed to manipulate forms and buttons,
where javascript is.

-- 
-----------------------------------------------------------------------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
-----------------------------------------------------------------------



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

Reply via email to