Nope, This didnt work, it just chops off the last x depending on how many were selected. Thanks, Ryan On 11/5/2004 8:46:27 PM, Jay Blanchard (jay.blanchard@xxxxxxxxxxxxxxxxxxxxx) wrote: > [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