From fa09f59dacc059aaef738e4141b62add1ab92d33 Mon Sep 17 00:00:00 2001 From: humano Date: Thu, 25 Sep 2014 11:34:43 -0500 Subject: [PATCH] Mejoras en el la representacion del mapa --- milfs/json.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/milfs/json.php b/milfs/json.php index 6ec9044..eba5121 100644 --- a/milfs/json.php +++ b/milfs/json.php @@ -18,8 +18,8 @@ $link=Conectarse(); - $consulta = " SELECT contenido as data, control,form_datos.form_id as id, timestamp - FROM form_datos, form_campos + $consulta = " SELECT distinct(contenido) as data, control,form_datos.form_id as id, timestamp + FROM form_datos WHERE form_datos.id_campo = '$id_campo' AND form_id = '$id' "; @@ -37,7 +37,7 @@ while( $row = mysql_fetch_array( $sql ) ) { $marcador = array(); $propiedades = array(); //$marcador["id"] = $id; - $titulo = remplacetas("form_datos","control","$row[control]","contenido","id_campo ='28' AND timestamp ='$row[timestamp]'"); + //$titulo = remplacetas("form_datos","control","$row[control]","contenido","id_campo ='28' AND timestamp ='$row[timestamp]'"); //$marcador["id"] = $id; $campos = explode(" ",$row[data]); $lat = $campos[0];