Hi Jay, I modified your code slightly because I am working with 152 rows and the output would be a _lot_ This is how i modified it: $url=$_POST['url']; $txt=$_POST['txt']; for($i = 0; $i < count($txt); $i++){ if(("" != $url[$i]) && ("" != $txt[$i])){ // echo $url[$i] . " ". $txt[$i] . "\n"; echo $i . " ". $txt[$i] . "<br><br>\n"; } else { echo "<b>".$i . " ". $txt[$i] . "</b>\n<br>"; } } I unchecked rows: 122,148,149,150 output I got: 0 0's text 1 1's text .....etc 149 149's text 150 150's text 151 151's text 152 152's text ideas? Thanks, Ryan On 11/5/2004 9:13:43 PM, Jay Blanchard (jay.blanchard@xxxxxxxxxxxxxxxxxxxxx) wrote: > [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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php