Use <input type="checkbox" name="id[<? echo $id ?>]"> Then you'll have an array of the boxes checked with the id as the array key.
olinux --- Neil Thomson <[EMAIL PROTECTED]> wrote: > try using the rand function.. > eg... > $rand=rand(1,10); > <input type='text' name='id$rand'> > > > but that migth get a same number more then once... > my suggestion is this > > $checkboxid="1"; > // Start of the loop > echo "<input type='text' name='id$checkboxid'>"; > // end of loop > $checkboxid = $checkboxid + 1; > > that should work i think.... > > havent tested that code. but thats my idea. > > Neil > __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]