Está en la página 1de 1

$rs=mysql_query("SELECT m.id_detalle,d.Elemento,e.Motivo,m.Punto,m.Observacion, m.Latitude,m.Longitude,n.fecha_envio,o.descripcion,m.imagen,u.nombre,u.apel lido FROM `android_averias_detalle` m,`android_averias` n ,`tb_usuario` u ,`tb _motivos` e,`tb_elementos` d,`estado` o WHERE n.`id` = m.

`id_android_averias` AND n.`id_usuario` = '$usuario' AND u.`id` = n.`id_usuario` AND o.`id_estado`= m.`estado` AND d.`codigo`= m.`elemento` AND e.`codigo`= m.`motivo`");

//Imprime encabezado

print "<table width=100% border=1 bordercolor=#51859D cellspacing=4 cell padding=1> <tr bgcolor=#005683 align=center> <th <th <th <th <th <th <th h> <th width=120><font color=#ffffff>Estado</font></th> <th width=120 align=center><font color=#ffffff>Imagen</font></ th> <th width=120><font color=#ffffff>Usuario</font></th> <th width=100 align=center><font color=#ffffff>Asignar Estado </font></th> width=120><font width=120><font width=120><font width=120><font width=120><font width=120><font width=120><font color=#ffffff >Elemento</font></th> color=#ffffff>Motivo</font></th> color=#ffffff>Punto</font></th> color=#ffffff>Observacion</font></th> color=#ffffff>Latitude</font></th> color=#ffffff>Longitude</font></th> color=#ffffff>Fecha de Grabacion</font></t

También podría gustarte