[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