[Mapserver-users] Re: Query data PHP/Mapscript

pkishor_98 pkishor at geoanalytics.com
Tue Mar 25 15:57:48 EST 2003


--- In mapserver-users at yahoogroups.com, "Jim Burnett" <r000t at a...> wrote:
> Hey all, looks like spring is here at last!
> 
> Anywho, I want to search a dbf file for some data ( not map ). For
example I have a parcel layer that I want to search on. I want to get
all the "smiths" or whatever I want to search on. Can this be done?


sure... check out the dbase methods in php. make sure php is compiled
with dbase.

since dbf is a crummy format, you will have to loop through each row,
and within each row, loop through each field, unless you know which
field you are searching for, until you find what you are looking for.




More information about the mapserver-users mailing list