[PHPTAL] How managing checked="checked" ?
Guillaume Lecanu
Guillaume at lya.fr
Sat Apr 26 18:57:26 CEST 2008
Hi,
How is it possible to remove an attributes (or to add it) depending of a
value/condition ?
If ($agreement) {
<input type="checkbox" name="agreement" value="1" checked="checked" />
} else {
<input type="checkbox" name="agreement" value="1" />
}
Thanks !
-------------- section suivante --------------
Une pi�ce jointe HTML a �t� enlev�e...
URL: http://lists.motion-twin.com/pipermail/phptal/attachments/20080426/47d25581/attachment.htm
More information about the PHPTAL
mailing list