Probá cambiando esto:
Código PHP:
Ver original$resultado2=mysql_query("SELECT glpi_tracking.name,glpi_dropdown_tracking_category .name, glpi_tracking.date_required,glpi_tracking.closedat e,glpi_tracking.category
FROM glpi_tracking
INNER JOIN glpi_dropdown_tracking_category
ON glpi_tracking.category = glpi_dropdown_tracking_category.id
WHERE date_required <=closedate",$conexion);
{
echo "<tr>";
foreach($registro as $clave)
{
echo "<td>".$clave."</td>";
}
}
por esto:
Código PHP:
Ver original$resultado2=mysql_query("SELECT glpi_tracking.name as titulo,glpi_dropdown_tracking_category.name as cname, glpi_tracking.date_required as fecha_req,glpi_tracking.closedate as fecha_clo,glpi_tracking.category, glpi_dropdown_tracking_category.id as cid
FROM glpi_tracking
INNER JOIN glpi_dropdown_tracking_category
ON glpi_tracking.category = glpi_dropdown_tracking_category.id
WHERE date_required <=closedate",$conexion);
{
echo '<tr><td>'.$registro['titulo'].'</td><td>'.$registro['cname'].'</td><td>'.$registro['fecha_req'].'</td><td>'.$registro['fecha_clo'].'</td><td>'.$registro['cid'].'</td></tr>';
}
Eso debería funcionar.
Te aconsejo que si funciona ok, leas y trates de razonar el código.