Thanks guys, I used anhundiaks' suggestion, it didn't work straight away (and to be honest I'm not sure what I changed in the code that made it work OK!) but it is now adding a record into the database for every record created by the query on the first page..........the code I ended up with is.....
if (isset($_POST['size']))
{
foreach($_POST['size'] as $key => $value)
{
$query = "INSERT INTO tblResults (MachineRef,size,colour,LoadedBy,LoadedWhen)
VALUES ('$MachineID','$size','$colour','$Username',NOW())";
$result2 = mysql_query($query)
or die(mysql_error());
}}
.......having said that I am nearly there, but not quite!! because although it is adding the records, it isn't adding the results. I think this is something wrong in the way I have written the names of the values in the array so I am going to go back and check it all of the way through.
thanks again.🙂