Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/09/2011, 13:21
Avatar de JHTKoZ
JHTKoZ
 
Fecha de Ingreso: noviembre-2009
Ubicación: Teocaltiche, Mexico
Mensajes: 67
Antigüedad: 14 años, 7 meses
Puntos: 0
Pregunta Problema con alert

Tengo una tabla generada en php con datos de mi base de datos, el problema es que cada uno tiene botones de ver, modificar y eliminar, el problema con éste último es que necesito que me aparezca un alert y no me lo da, le doy click en el link y me lleva sin pasar por la alerta, que hago? :S

Código PHP:
while ($row mysql_fetch_array($result))
{
echo 
'<tr class="data_table_content"><td width="30px">' $row["id_Paciente"] . '</td>';
echo 
'<td width="300px">' $row["Nombre_Paciente"] . '</td>';
echo 
'<td width="20px">' $row["Edad"] . '</td>';
echo 
'<td width="200px">' $row["Lugar"] . '</td>';
echo 
'<td width="20px" class="data_table_content_2"><a href="patient_look.php?id_paciente=' $row["id_Paciente"] . '"><img src="Images/eye.png" title="Ver" height="18px" width="18px"/></a></td>';
echo 
'<td width="20px"><a href="patient_modify.php?id_paciente=' $row["id_Paciente"] . '"><img src="Images/pencil.png" title="Modificar" height="18px" width="18px"/></a></td>';
echo 
'<td width="20px"><a href="patient_del.php?id_paciente=' $row["id_Paciente"] . '" onclick="javascript: alert(Realmente desea Eliminar);"><img src="Images/bad.png" title="Eliminar" height="16px" width="16px" style="margin:0px 4px;"/></a></td></tr>';
}
?>