hola hidek1 buen dia..
ya los llame con php y ya salen en mi pagina pero no se como sumarlos con php mira este es mi codigo y este es el link de mi pagina espero puedas chekarlo y decirme como hecerlo porfavor ....
Código PHP:
Ver original<?php
$datos="select NomEntCom,TblEntCom.CveEntCom, CVeCtrEsc,CveEntGpo, TblPerCom.NivPerCom,FchEntCom, count(*) from TblOrgCom, TblPerCom, TblEntCom left join TblComInt on TblEntCom.CveEntCom=TblComInt.CveEntCom where TblComInt.CveEntPrf=3 and TblOrgCom.PlnEstCom='Licenciatura en Informática Administrativa' and TblEntCom.CveEntCom=TblOrgCom.CveEntCom and TblEntCom.CveEntCom=TblPerCom.CveEntCom group by TblEntCom.CveEntCom order by TblPerCom.NivPerCom";
$i=0;
$NombreMateria[$i] = $registro ['NomEntCom'];
$ClaveMateria[$i] = $registro ['CveEntCom'];
$NivelMateria[$i] = $registro ['NivPerCom'];
$FechaMateria[$i] = $registro ['FchEntCom'];
$ContRegistros[$i] = $registro ['count(*)'];
$ClvControl[$i] = $registro ['CVeCtrEsc'];
$ClaveGrupo[$i] = $registro ['CveEntGpo'];
$Plantel[$i] = $registro ['PlnEstCom'];
list($cve[$i], $per[$i]) = explode("-", $ClvControl[$i]); $i++;
}
$total1=count($NombreMateria); for($j=0;$j<=$total1;$j++)
{
?>
<?php
if($NivelMateria[$j]!=0 && $per[$j]!=0)
{
?>
<tr>
<td align="center"><?php echo $per[$j]; ?></td>
<td align="center"><?php echo $NivelMateria[$j]; ?></td>
<td align="center"><span style="cursor:pointer;" onclick="prueba(<?php echo $ClaveMateria[$j]?>); "><?php echo $ContRegistros[$j];?></span></td>
</tr>
<?php
}
}
?>
http://seduca.uaemex.mx/eru/reporte_k8.php