Código PHP:
Código PHP:
$table .="<tr>";
$table .="<form action=socios.php method=post>";
$table .="<td><input type=text name=id value=".$i['idSocios'].">";
$table .="<td><input type=text name=dni value=".$i['dni'].">";
$table .="<td><input type=text name=nombre value=".$i['nombre'].">";
$table .="<td><input type=text name=apellido value=".$i['apellido'].">";
$table .="<td><input type=text name=email value=".$i['email'].">";
$table .="<td><input type=text name=telefono value=".$i['telefono'].">";
$table .="<td><input type=submit name=update value=Actualizar>";
$table .="<td><input type=submit name=delete value=Eliminar>";
}
Código HTML:
<tr><form action="socios.php" method="post"></form><td><input type="text" name="id" value="2"></td><td><input type="text" name="dni" value="24234"></td>
Gracias de antemano.