codificacion de tildes en url
This commit is contained in:
parent
c9c1a014d5
commit
8ad5eac234
@ -12867,7 +12867,7 @@ function imprime_geojson($id,$id2,$plantilla,$busqueda,$item){
|
|||||||
if($busqueda !="") {
|
if($busqueda !="") {
|
||||||
$busqueda = explode(':',$busqueda);
|
$busqueda = explode(':',$busqueda);
|
||||||
if($busqueda[1] !="") {
|
if($busqueda[1] !="") {
|
||||||
$busqueda[1] = htmlentities($busqueda[1]);
|
$busqueda[1] = urldecode($busqueda[1]);
|
||||||
|
|
||||||
|
|
||||||
$consulta = "SELECT form_id as id, control, timestamp, GROUP_CONCAT(contenido ORDER by timestamp desc ) as data
|
$consulta = "SELECT form_id as id, control, timestamp, GROUP_CONCAT(contenido ORDER by timestamp desc ) as data
|
||||||
|
@ -9,7 +9,7 @@ require ("funciones/conex.php");
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
$geojson = imprime_geojson("$_REQUEST[id]","","mapa","$_REQUEST[buscar]");
|
$geojson = imprime_geojson("$_REQUEST[id]","","mapa","$_REQUEST[buscar]","");
|
||||||
//header('Content-Type: application/json');
|
//header('Content-Type: application/json');
|
||||||
var geojsonSample =
|
var geojsonSample =
|
||||||
echo $geojson;
|
echo $geojson;
|
||||||
|
Loading…
Reference in New Issue
Block a user