codificacion de tildes en url

This commit is contained in:
humano 2020-04-05 23:14:36 -05:00
parent c9c1a014d5
commit 8ad5eac234
2 changed files with 4 additions and 4 deletions

View File

@ -12867,7 +12867,7 @@ function imprime_geojson($id,$id2,$plantilla,$busqueda,$item){
if($busqueda !="") {
$busqueda = explode(':',$busqueda);
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

View File

@ -7,11 +7,11 @@ require ('funciones/convert.php');
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');
var geojsonSample =
echo $geojson;
;
?>
?>