[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 } } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php