Thanks designguy79
That works fine. So, to carry on a bit, I have another query. One of the fields displayed, but not included in the actual form, is the Table id ($id). Obviously, the form is only used to select a record.
At the moment, if I tick 1 box, only one row is echoed. If I tick 2 boxes, 2 rows are echoed. But I don't know what their ID is.
Is there an easy way to include this.
This is the bit of code for xxx:
<input type='checkbox' name='xxx[]'></td>";
And this bit is for the record id:
<font size='2'>" . $id . "</font></td>";
Thanks again
Terry