The "add new line" would submit the form to a PHP script. The PHP script would take the values submitted in put it in a form again, as in:
print "<input type=\"text\" value=\"$valueOfBox\">";
repeated as many times for however many lines...
and then you output a blank textbox for the user to add stuff.
Diego