Hi Armin, after that I have query  a layer I can find in the "session file" 
this string 

JSON_Results|s:580:"[ [{"name": "Limiti_Provinciali", "description": 
"Limiti_Provinciali", "header": ["@","PR"], "values": [ [{"shplink": 
["Limiti_Provinciali","1","445635.40666512+4539798.8219411+512497.68423614+4592772.6295367"]},
 "BN"]]} , {"name": "Limiti_Comunali", "description": "Limiti_Comunali", 
"header": ["@","COMUNE"], "values": [ [{"shplink": 
["Limiti_Comunali","47","475595.63608862+4548872.2345804+489090.57531073+4563727.3195491"]},
 {"hyperlink": ["Limiti_Comunali","COMUNE","Benevento","Benevento"]}]]} ], 
{"allextent": "", "zoomall": false, "autozoom": false, "infoWin": "window"} ]";

I need to retrieve the field value from this string in order to use it in a php 
code like this (for example):


<?php
session_start();
$field_value = $_SESSION['only the field value in JSON_Results string'];

echo "The field value is " . $field_value;
?>

thanks
    Marco

Armin Burger <[EMAIL PROTECTED]> ha scritto: I don't understand exactly what 
you want to achieve. maybe the hyperlink 
function is the right start for you

see

http://svn.pmapper.net/trac/wiki/DocManual#Hyperlinks

armin


marco barra wrote:
> Hi all
> I have in my mapfile a layer of points. In the dbf file related to this layer 
> there is a field that contain a link (in html 
> So when I query a point I can open the related html page from "query result" 
> window, directly clicking in   the field containing the link.
> But I have a lot of point.............now the pictures have the same name of 
> points and in dbf file there is a field containing point name, can I get the 
> point name from the json_results in session file so I can use it in a php 
> page to dinamically create the page with the picture? I dont understand how I 
> can get only the "point_name"  from the JSON_Results variable......I'm 
> reading json_query_doc.txt, but I'm new with php and json..........
> can someone help me??? 
> regards 
>                 Marco
> P.S. sorry for my english
> 
>        
> ---------------------------------
> 
> ---------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> 


       
---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to