Cita:
Iniciado por gjx2
Código php:
Ver original$Consulta=mysql_query("select * from asistencia;"); //Ejecuta el Query en la Base de Datos if (!$Consulta) {
echo("<p>Error al ejecutar el Query Sql.</p>");
}
while($Fila = mysql_fetch_array($Consulta)) { //Ciclo Repetitivo mientras no sea fin de Archivo $f = explode("-",$Fila["UsuarioFecha"]); echo "<tr class='table_imagenes'>";
echo "<td align='center' style='color: #666666; font-weight: bold;'>".date("d-m-Y",mktime(0,0,0,$f[1],$f[2],$f[0]))."</td>"; echo "<td align='center' style='color: #666666; font-weight: bold;'>".$Fila["empleado"]."</td>";
echo "<td align='center' style='color: #666666; font-weight: bold;'>".$Fila["h_entrada"]." </td>";
echo "<td align='center' style='color: #666666; font-weight: bold;'>".$Fila["h_salida"]."</td>";
GRACIAS AMIGO! me has sacado de apuros, y a los otros colaboradores tambien les agradezco SON EXELENTES