![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
09/12/2010, 16:29
|
![Avatar de Nano_](http://static.forosdelweb.com/customavatars/avatar128735_4.gif) | | | Fecha de Ingreso: febrero-2006 Ubicación: Bogotá, Colombia
Mensajes: 1.866
Antigüedad: 19 años Puntos: 96 | |
Respuesta: Donde esta mi error =( Saludos
Código PHP:
Ver original<?php conectar(); $jcalendar=mysql_query("select * FROM jqcalendar WHERE StartTime BETWEEN '$ini' AND '$fin' AND asistencia='1' GROUP BY Subject "); { { //separo la ficha que se extrae de la tabla jcalendar $ficha=$rowj[1]; $aa=$partes[0]; $bb=$partes[1]; $reporte=mysql_query("select diags_clave FROM reporte WHERE ficha='$aa' and codigo='$bb' "); $diags_clave=$rowReporte['diags_clave']; $reporte2=mysql_query("select count(diags_clave)as cuenta FROM reporte WHERE diags_clave='$diags_clave' GROUP BY diags_clave "); echo $row['cuenta']."<br>"; }//cierro el segundo while }//cierro el if desconectar(); ?>
__________________ :.:Nano.:: @nano_hard - Retornando al foro |