It's quite simple, really. Create a HTML like this:
<input type="text" name="hours[]" />
<input type="text" name="hours[]" />
<input type="text" name="hours[]" />
Anything that they submit creates a PHP array like this:
$_POST['hours'] = array([0] => 'value 1', [1] => 'value 2');
I think you can go from there, right? Or do you need any more help?
If you need more of the PHP part:
<?php
foreach($_POST['hours'] as $value){
if ($value){ // it's not empty
// maybe do a little more check on whether $value is valid
// then insert $value to DB
}
}
?>