Código PHP:
/*--------------------------------------------*/
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php
$max=$_POST["jp"];
$max+=1;
$max;
?>
<style type="text/css">
<!--
.Estilo1 {color: #FF9900}
-->
</style>
</head>
<body>
<?php echo $max-1; ?>
<table border="1">
<tr>
<td>Nombre</td>
<td>apellido</td>
<td>etc</td>
</tr>
<?php
$nombre[$max]=$_POST["d1"];
$apellido[$max]=$_POST["d2"];
$etc[$max]=$_POST["d3"];
$c=0;
while($c<$max){
?>
<tr>
<td><?php echo $nombre[$c+1];?></td>
<td><?php echo $apellido[$c+1];?></td>
<td><?php echo $etc[$c+1];?></td>
</tr>
<?php
$c=$c+1;
}
?>
</table>
<form name="form1" method="post" action="">
nombre<input name="d1" type="text">
direccion<input type="text" name="d2">
etc<input type="text" name="d3">
<input name="jp" type="hidden" value="<?php echo $max;?>">
<input type="submit" name="Submit" value="Enviar">
</form>
</body>
</html>
/*--------------------------------------------*/
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)