recibir datos en PHP
soy nuevo usando php y javascript tengo un problema no se como recibir los datos que me manda esta pagina
<html>
<head>
<script type="text/javascript">
var counter = 0;
function init() {
document.getElementById(\'moreFields\').onclick = moreFields;
moreFields();
}
function moreFields() {
counter++;
var newFields = document.getElementById(\'readroot\').cloneNode(true);
newFields.id = \'\';
newFields.style.display = \'block\';
var newField = newFields.childNodes;
for (var i=0;i<newField.length;i++) {
var theName = newField[i].name
if (theName)
newField[i].name = theName + counter;
}
var insertHere = document.getElementById(\'writeroot\');
insertHere.parentNode.insertBefore(newFields,insertHere);
}
window.onload = moreFields;
</script>
</head>
<body onLoad="init()">
<h3>Example</h3>
<p>Which CD\'s did you listen to recently?</p>
<div id="readroot" style="display: none">
<input type="button" value="Remove review"
onclick="this.parentNode.parentNode.removeChild(this.parentNode);" /><br /><br />
<table width="100%%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="31%">NOMBRE DEL CURSO</td>
<td width="36%">LUGAR DE IMPARTICION</td>
<td width="33%">INSTITUCION QUE LO IMPARTIO</td>
</tr>
<tr>
<td><label>
<input type="text" name="curso"/>
</label></td>
<td><label>
<input type="text" name="lugar"/>
</label></td>
<td><label>
<input type="text" name="institucion"/>
</label></td>
</tr>
</table>
<table width="100%%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="22%">FECHA DE INICIO </td>
<td width="25%">FECHA DE TERMINO</td>
<td width="27%">DURACION</td>
<td width="26%">PROMEDIO DE ACREDITACION</td>
</tr>
<tr>
<td><label>
<input type="text" name="finicio"/>
</label></td>
<td><label>
<input type="text" name="ftermino"/>
</label></td>
<td><label>
<input type="text" name="duracion"/>
</label></td>
<td><label>
<input type="text" name="promedio"/>
</label></td>
</tr>
</table>
</div>
<form method="post" action="prueba2.php">
<span id="writeroot"></span>
<input type="button" id="moreFields" value="Give me more fields!" />
<input type="submit" value="Send form" />
</form>
</body>
</html>
<html>
<head>
<script type="text/javascript">
var counter = 0;
function init() {
document.getElementById(\'moreFields\').onclick = moreFields;
moreFields();
}
function moreFields() {
counter++;
var newFields = document.getElementById(\'readroot\').cloneNode(true);
newFields.id = \'\';
newFields.style.display = \'block\';
var newField = newFields.childNodes;
for (var i=0;i<newField.length;i++) {
var theName = newField[i].name
if (theName)
newField[i].name = theName + counter;
}
var insertHere = document.getElementById(\'writeroot\');
insertHere.parentNode.insertBefore(newFields,insertHere);
}
window.onload = moreFields;
</script>
</head>
<body onLoad="init()">
<h3>Example</h3>
<p>Which CD\'s did you listen to recently?</p>
<div id="readroot" style="display: none">
<input type="button" value="Remove review"
onclick="this.parentNode.parentNode.removeChild(this.parentNode);" /><br /><br />
<table width="100%%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="31%">NOMBRE DEL CURSO</td>
<td width="36%">LUGAR DE IMPARTICION</td>
<td width="33%">INSTITUCION QUE LO IMPARTIO</td>
</tr>
<tr>
<td><label>
<input type="text" name="curso"/>
</label></td>
<td><label>
<input type="text" name="lugar"/>
</label></td>
<td><label>
<input type="text" name="institucion"/>
</label></td>
</tr>
</table>
<table width="100%%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="22%">FECHA DE INICIO </td>
<td width="25%">FECHA DE TERMINO</td>
<td width="27%">DURACION</td>
<td width="26%">PROMEDIO DE ACREDITACION</td>
</tr>
<tr>
<td><label>
<input type="text" name="finicio"/>
</label></td>
<td><label>
<input type="text" name="ftermino"/>
</label></td>
<td><label>
<input type="text" name="duracion"/>
</label></td>
<td><label>
<input type="text" name="promedio"/>
</label></td>
</tr>
</table>
</div>
<form method="post" action="prueba2.php">
<span id="writeroot"></span>
<input type="button" id="moreFields" value="Give me more fields!" />
<input type="submit" value="Send form" />
</form>
</body>
</html>
