Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/05/2010, 13:41
mindoata
 
Fecha de Ingreso: septiembre-2008
Mensajes: 136
Antigüedad: 15 años, 8 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>