RE: Multiple checkboxes and multiple textboxes

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

 



[snip]
These values will be entered into the database so I need proper
"matching
pairs" of URL and TXT
[/snip]

for($i = 0; $i < count($url); $i++){
    if(("" != $url[$i]) && ("" != $txt[$i])){
        //it is OK to put into database
    } 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