tengO:
Código PHP:
$consultar="SELECT cod_asistencia, hora_entrada_real FROM asistencia_personal where hora_entrada_real<>'' and hora_salida_real='' and cod_personal='$codigo_z' and dia='$fecha_hoy_z'";
$resulthora=mysql_query($consultar,$cnx);
$rsHora=mysql_fetch_array($resulthora);
//if($_SESSION['cod_tipousuario']<>5){
if($rsHora['hora_entrada_real']!=""){
header("location : grabar_asistencia_docente_entrada.php?cod_docente='$codigo_z'");
}
else{
header("location : grabar_asistencia_docente_salida.php?cod_docente='$codigo_z'");
}
}
Warning: Cannot modify header information - headers already sent by (output started at F:\AppServ\www\professionalair\aver1.php:8) in F:\AppServ\www\professionalair\aver1.php on line 19
le agradeceria mucho su ayuda....
