bueno ahora mi incognita es la siguiente, como le puedo hacer para poner un boton de cancelar en el siguiente codigo, ese boton de cancelar tiene q tener la funcion de borrar lo q se haya querido poner en los campos de arriba y regresar a la pagina anterior la pagina donde esta el listado de todos Desarrolladores aqui les dejo el codigo;
Código PHP:
<body>
<?php include("conexion.php");
$reporte=$_GET['desarrollador'];
$comprobar=$_GET['Submit'];
$delimplode=$_GET['seleccion'];
if ($comprobar) {
$lista = implode(',', $delimplode);
$lista2 = mysql_query("DELETE FROM desarrolladores WHERE id_desarrolladores IN(".$lista.")");
$my_error = mysql_error();
if($my_error) {
echo "Ha ocurrido un error al intentar borrar los registros. $my_error";
} else {
?>
<html>
<head>
<meta http-equiv="refresh" content="3;URL=esp_listado_progress.php" />
</html><body>
<p>Campo (s) <? echo $lista ?> borrado (s) con exito.</p>
</body></html>
<? }
} else {
$seleccionar_reporte="SELECT * FROM desarrolladores WHERE desarrolladores='$reporte'";
$seleccionando_reporte=mysql_query($seleccionar_reporte);
echo mysql_error();
$fila_reporte=mysql_fetch_array($seleccionando_reporte);
/* $consulta = "SELECT * FROM desarrolladores";
$resultado = mysql_query($consulta);
$campo = "";
while ($row = mysql_fetch_assoc($resultado)) {
$campo .= "<option value='$row[id_desarrolladores]'>$row[desarrolladores]</option>\n";
} */
?>
<form action="esp_progress_editando.php" method="post" />
<table width="400" border="1" cellspacing="0">
<tr>
<td width="35%">R. Progress:</td>
<td width="65%"><input type="text" name="desarrolladores" value="<? echo $fila_reporte['desarrolladores']; ?>" size="30" /></td>
</tr>
<tr>
<td></td>
<td><div align="right">
<input type="hidden" name="id_desarrolladores" value="<? echo $fila_reporte['id_desarrolladores']; ?>">
<input type="submit" name="modifica" value="Modificar" />
<input type="submit" name="borra" value="Borrar" />
</div></td>
</tr>
</table>
</form>
<? } ?>
</body>