![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/05/2010, 13:41
|
| | Fecha de Ingreso: septiembre-2008
Mensajes: 136
Antigüedad: 16 años, 5 meses Puntos: 1 | |
Respuesta: ayuda con un href Intenta mejor con algo asi:
?>
<td><a href="javascript:borrar(<? echo $fila['Cod_Inscrip_Est']; ?>)">[Eliminar]</a><td>
<?
y al comienzo del script colocas la funcion borrar:
<script language="javascript">
function borrar(id)
{
res = confirm("¿Está seguro que desea eliminar el registro?");
if (res==true)
location.href = "estudiante/delestudiante.php?cod=<? echo $id; ?>";
}
</script> |