RE: [PHP] Multiple checkboxes and multiple textboxes
| From: | Jay Blanchard | Date: | Fri, 05 Nov 2004 20:13:43 +0000 |
| Subject: | RE: [PHP] Multiple checkboxes and multiple textboxes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-201316@lists.php.net to get a copy of this message | ||
[snip]
This didnt work, it just chops off the last x depending on how many were
selected.
[/snip]
Hmmmmm....really? I was just able to do this with nary a problem. Chops
off? Can you just echo out the results?
for($i = 0; $i < count($url); $i++){
if(("" != $url[$i]) && ("" != $txt[$i])){
echo $url[$i] . " " $txt[$i] . "\n";
} else {
//it ain't OK
}
}