Srihari & Weezer - cheers so far but:
I realise I'll need to uitilies a loop somwhere - the code below is where the checkbox is 'setup'. Depending on the number of associated records, then that number of checkboxes appears. A single HTML form surrounds the whole thing with a single submit button.
Once submit has been hit, a script takes the values of the checkboxes and places them in an email. Most of this I can do, but I need to uniquely identify/associate each checkbox's value with the id of the record set it is sitting in.
while ($row = mysql_fetch_array($result)) {
$chk = $row['chk'];
if (($chk == "y") || ($chk == "Y")) {
$chk = "
<input type=\"checkbox\" name=\"signup\" value=\"$an-ID\" unchecked>";
}
//end if
}
//end while loop
How do I associate a dynamically gernerated checkbox value with a row's unique id??
Cheers for your perceverence!!
Russ...