Re: from Checkboxes to e-mail

From: Date: Tue, 20 Jun 2000 16:20:59 +0000
Subject: Re: from Checkboxes to e-mail
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2321@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 20.06.00 um 17:12 hat Martin E. Koss geschrieben: MEK>I hava group of check boxes on a form: MEK><INPUT TYPE=CHECKBOX NAME="Options" VALUE=Black>Black [snip] MEK>Any suggestions? <input type=checkbox name="Options[]" value="foo">Foo ^^^^^ note the brackets This will create an array "Options" with all selected values. Then you can do something like '$foo = implode("\n",$Options);' and use that in your mail. - -- Reg., Jonas Jochum commandline net services - ------------------------------------------------------------------------- tel: 07223-911794 | cmd:~ # Systemadministration, Netzwerkverwaltung fax: 07223-911795 | cmd:~ # Einrichtung von *BSD/Linux-Servern d2 : 0173-5712481 | cmd:~ # Datenbank/Internetprogrammierung jj@commandline.de | cmd:~ # Webdesign www.commandline.de | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (FreeBSD) Comment: Made with pgp4pine iEYEARECAAYFAjlPme4ACgkQF1ki3orczCDm7QCfeMhZNtosX/rbwItXsstNzTO3 yt8AnR8JJs/LCQ77gOkLKRCjAZ8Bi79S =+0xA -----END PGP SIGNATURE-----

« previous php.general (#2321) next »