PHP Classes

It would be better

Recommend this page to a friend!

      PHP Classes blog  >  Leaflet Search Map us...  >  All threads  >  It would be better  >  (Un) Subscribe thread alerts  
Subject:It would be better
Summary:why post code that not works?
Messages:2
Author:juan carlos
Date:2015-06-07 17:30:19
Update:2015-06-08 07:03:27
 

  1. It would be better   Reply   Report abuse  
Picture of juan carlos juan carlos - 2015-06-07 17:58:41
your method getSearchResults returns jsonData with structure
[[name:'some name', latitude: '1.2345', longitude: '2.0988']]
later you put the parsed data to the variable "result" and later you create the output string with the undeclared variable "activeCategories".

:-)

nevertheless thanks for the posts. Very simple but important to undrstand.

  2. Re: It would be better   Reply   Report abuse  
Picture of Ashraf Gheith Ashraf Gheith - 2015-06-08 07:03:27 - In reply to message 1 from juan carlos
Thank you for your note, It seems I lost track somewhere.
I will put a demo in the end of this week, I will post a whole class with examples for both articles. That way you can download a working example, I will fix these errors also.