Hi i'm working with pmapper 4.0, Mapserver version 5.6.0, and PHP
version 5.2.6-1+lenny8, Postgis 1.3.3
I'm using search.xml and I noted that if I use wildcard="2", the
wildcard doesn't work to show the list of search word
when I typing the word on the textbox of search.
Example of my search.xml:
<searchlist version="1.0">
<dataroot>$</dataroot>
<searchitem name="crash" description="crash">
<layer type="postgis" name="crash">
<field type="s" name="location" description="location"
wildcard="1">
<definition type="suggest"
connectiontype="postgis" sort="asc"
minlength="1" startleft="1" >
<dsn
encoding="UTF-8">pgsql://xxx:x...@localhost:5432/data_web</dsn>
<sql>SELECT DISTINCT location FROM
crash WHERE location IS NOT
NULL ORDER BY gid</sql>
</definition>
</field>
</layer>
</searchitem>
</searchlist>
What's wrong with my search.xml? Anybody could help me??
Thanks !!
-Retno Andjar Sari-
------------------------------------------------------------------------------
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users