RE: Multiple checkboxes and multiple textboxes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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] . "&nbsp;" $txt[$i] . "\n";
    } else {
        //it ain't OK
    }
}

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux