Re: [PHP] Submitting a form from a tags

2004-05-30 Thread John W. Holmes
GodFoca wrote:
Heyp! I wanted to know if there is some way to do the submitting of a form
from a normal href link, instead of the big-dumb-gray button.
If it can't be done with PHP, how can it be done?
Why would you think PHP can do anything client side?
a href=javascript:document.form.submit()submit/a
or something like that...
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals  www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Submitting a form from a tags

2004-05-30 Thread Marek Kilimajer
GodFoca wrote:
Heyp! I wanted to know if there is some way to do the submitting of a form
from a normal href link, instead of the big-dumb-gray button.
If it can't be done with PHP, how can it be done?
Thanks in advance,
Nicolas Sanguinetti
Thought it is possible to use javascript as suggested by John, the 
recomended way is to use styles to change the appearance of the submit 
button.

Example:
style
.submit {
 border: none;
 background-color: white;
}
.submit:hover {
 border: none;
 background-color: white;
 text-decoration: underline;
 cursor: hand;
 cursor: pointer;
}
/style
input type=submit value=Send class=submit
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php