[OpenLayers-Users] Re: trouble parsing a php result for attributes plus geometry

karlg karl.geog at gmail.com
Sun Feb 19 11:37:19 EST 2012


Came upon the answer:
Although the PHP response is sent json_encode($string), it is not a JSON
object. It has to be turned into one in javascript with 

following that, attributes can be isolated with MyAttribValue =
jsonObject["key"]



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/trouble-parsing-a-php-result-for-attributes-plus-geometry-tp4484609p4485465.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list