hello list..!

im using the last stable version of pmapper 3.1.
in this moment i can enable the file.map..  and i define the group
layers in php_config.php conected to mapserver and postgis.. whith out
problem.

Now..
Im looking for the way... for make a custom query ... for change the
results of the icon selection, in the toolbar... or  way by form.

I can see, that exist the file search.xml for make a query... but this
way is limited...
or no there are examples for use SQl string in this..search.xml..
however.. in the file
../incphp/query/search.php  .. seems that is posible.


i want use the way by .. php_mapscript functions..
for example..
1. get parameters by form
2. insert parameters in a SQl string = $Query_data
3. make query

somethig like this...

$layer = ms_newLayerObj($map);
$layer->set("name", "Landsat");
$layer->set("data", "$Query_data");


BUT ... i dont can see... where put this lines... or understand how is
the workflow to do this  inside pmapper... what files or funtions
modify...

PLEASE ANY IDEA..??

THANKS !


-- 
Leonardo Araque
Electronic Engineer

-------------------------------------------------------------------------
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