php3-list | 200003
Date: 02/29/00
- Next message: Leon Mergen: "[PHP3] Validate?"
- Previous message: Mike Sheldon: "[PHP3] WDDX"
- Next in thread: Gregor Welters: "Re: [PHP3] check box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
1.) As the below solution, I got the answer.
But if I put into FUNCTION method, it nothing print out.
How to get it?
2.) How to put the check box values into array ?
Thanks,
example :
....
function check_box ($sizeof_x)
{ for ($i=0;$i<sizeof($x);$i++) {
echo "$x[$i] "; }
}
....
#########
HTML :
.....
<INPUT TYPE=CHECKBOX NAME="x[]" VALUE=1 > Option 1
<INPUT TYPE=CHECKBOX NAME="x[]" VALUE=2 > Option 2
.....
PHP :
for ($i=0;$i<sizeof($x);$i++) {
echo "$x[$i] "; }
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Leon Mergen: "[PHP3] Validate?"
- Previous message: Mike Sheldon: "[PHP3] WDDX"
- Next in thread: Gregor Welters: "Re: [PHP3] check box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

