Mi formulario es el siguiente:
Código PHP:
<form action="insertar.php" method="post">
<table>
<tr>
<td> * Nombre </td>
<td> <input type="text" name="nombre" size="15" maxlength="15" value="<?php echo $_GET["nombre"]?>"></td>
//....varios campos de los que hay como el anterio 3 (apellidos dni..) y otros que no devuelvo si el dato es erroneo porque inserto uno por defecto.
//boton enviar
//cierro tabla y formulario
y el error es:
PHP Notice: Undefined index: nombre in C:\Inetpub\wwwroot\David\pruebas\insertar personal.php on line 16