I think i solved the problem. Using:
$_SESSION["resulttilelayers"] and $_SESSION["resultlayers"] and $_SESSION["mode"]="query" I can setup highlight results. I was close, but i needed to setup the array with array["name of the shape"= array of results to make it works. I notice that fid (idx) in Pmapper is 1 unit forward than in Jump Gis. Is that a bug or is needed for the code working ?? I have to add 1 and sub 1 to synchronize my code with yours. But now i think is ok. Thanks for your work and for your info. -- Carlos Tim?teo (Portugal)
