ok I understand what your asking. but I'm at a loss as to where in the code I need to loop it. below is the insert tag can you point me in the right direction?
$connection=mysql_connect ("localhost", "foo", "bar") or die ("I cannot connect to the database.");
$db=mysql_select_db ("foobar", $connection) or die (mysql_error());
$query = "INSERT INTO worklog (id, newtime, datetime, clientname, clientcode, startmo, startday, startyr, endmo, endday, endyr, duemo, dueday, dueyr, market, job, type, spec, status, designer, dsgnemail, adrep, ademail, rush) VALUES ('$id', $newtime, now(), '$clientname', '$clientcode', '$startmo', '$startday', '$startyr', '$endmo', '$endday', '$endyr', '$duemo', '$dueday', '$dueyr', '$market', '$job', '$type', '$spec', '$status', '$designer', '$dsgnemail', '$adrep', '$ademail', '$rush')";