fetch_array(MYSQLI_ASSOC)) { $type='pagina'; } if($num==0){ header('location:index.php'); } $consulta_sql = "INSERT INTO sys_visitxpage(pid, ip, ptype) VALUES ('$id', '$ip','$type')"; $consulta_sql = sql($consulta_sql); //$html = explode("*/",html_entity_decode($r['page'])); //for($i=0;$ifetch_array(MYSQLI_ASSOC)) { $type='question'; } $codigopreg = str_replace('[*',$ruta,html_entity_decode($faq['answer'])); $codigopreg = str_replace('*]','',$codigopreg); $id = $faq['pid']; $consulta_sql = "INSERT INTO sys_visitxpage(pid, ip, ptype) VALUES ('".$faq['pid']."', '$ip', '$type')"; $consulta_sql = sql($consulta_sql); if($num==0){ header('location:index.php'); } } ?> Transparencia | Pagina Oficial del Municipio de Juarez