Re: dealing with arrays
| From: | Marek Kilimajer | Date: | Wed, 27 Aug 2003 14:07:25 +0000 |
| Subject: | Re: dealing with arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160908@lists.php.net to get a copy of this message | ||
Then you must include keys:
<input type=text name=name[1]>
<input type=text name=tel[1]>
<input type=checkbox name=check[1] value=1>
<input type=text name=name[2]>
<input type=text name=tel[2]>
<input type=checkbox name=check[2] value=1>
and so on. This is needed bacause only checked checkboxes are send on submit.
Aris Santillan wrote:
hi I Have <p>Entry One <input type=text name=name[]> <input type=text name=tel[]> <input type=checkbox name=check[] value=1> <p>Entry Two <input type=text name=name[]> <input type=text name=tel[]> <input type=checkbox name=check[] value=1> <p>Entry Three <input type=text name=name[]> <input type=text name=tel[]> <input type=checkbox name=check[] value=1> <p>Entry Four <input type=text name=name[]> <input type=text name=tel[]> <input type=checkbox name=check[] value=1> <p>Entry Five <input type=text name=name[]> <input type=text name=tel[]> <input type=checkbox name=check[] value=1> . i want to process entries only with checked checkbox how can i do this in php?