Mám problém

Našiel som dynamický formulár riešený javascriptom. Pridávajú sa tam inputy. len to neviem spracovať a ani zobrať z toho premenné

tu je code
Kód:
<html>
<head>
<title>Dynamic Page</title>
<script language="javascript">
var initial_count = new Array();
var rows_limit = 0; // Set to 0 to disable limitation
function addRow(table_id)
{
var tbl = document.getElementById(table_id);
// counting rows in table
var rows_count = tbl.rows.length;
if (initial_count[table_id] == undefined)
{
// if it is first adding in this table setting initial rows count
initial_count[table_id] = rows_count;
}
// determining real count of added fields
var tFielsNum = rows_count - initial_count[table_id];
if (rows_limit!=0 && tFielsNum >= rows_limit) return false;
var text = 'Meno';
var input = '<input type="text" name="postvar[]" style="width:100px;"/>';
var input1 = '<input type="text" name="postvar1[]" style="width:100px;"/>';
var remove= '<input type="button" value="X" onclick="removeRow(\''+table_id+'\',this.parentNode.parentNode)" style="width:100%;"/>';
try {
var newRow = tbl.insertRow(rows_count);
var newCell = newRow.insertCell(0);
newCell.innerHTML = text;
var newCell = newRow.insertCell(1);
newCell.innerHTML = input;
var newCell = newRow.insertCell(2);
newCell.innerHTML = input1;
var newCell = newRow.insertCell(3);
newCell.innerHTML = remove;
} catch (ex) {
//if exception occurs
alert(ex);
}
}
function removeRow(tbl,row)
{
var table = document.getElementById(tbl);
try {
table.deleteRow(row.rowIndex);
} catch (ex) {
alert(ex);
}
}
</script>
</head>
<body>
<form name="form1" method="post" action="form.php">
<table width="400" border="0" cellspacing="0" cellpadding="4" id="mytable">
<input type="button" name="Button" value="Add row" onClick="addRow('mytable')">
</table><br>
<input type="submit" value="Submit" />
</form>
</body>
</html>
zapisuje to do nejakého pola a neviem to spracovať...
Chcel by som, aby mi to zapisalo do tabulky s primary id a ulozilo tam meno a priezvisko. a nejaky cyklus, aby sa zopakoval tolko krat, kolko tam bude riadkov(inputov)
PROSÍÍÍM!!! pomooooc