PHP Indonesia - Facebook | PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ | |
 | Refresh your vocabulary.
Learn a new word everyday by subscribing to Word of the Day. A great tool if you're studying for the GRE, GMAT or LSAT, or simply want to enhance your lexicon.  | From our sponsors | | |
Mohon pencerahanya gan . ane punya file json.php y... Sep 10th 2013, 11:54, by Hendri Prayugo | Mohon pencerahanya gan . ane punya file json.php yg menghasilkan output pada broswer berupa string dengan format JSON seperti dibawah =========Output JSON ======== {"Marker":[{"latitude":"31.42866311735861","longitude":"-98.61328125","icon":"img/house.png","baloon_text":"This is <strong>Texas</strong>"}]} ========================== Trus string tersebut mo ane load kedalam variable myMarkers jadi. var myMarkers = ?cara manggilnya gimana? |
| | json_Decode |
| | gak perlu di decode gan cuman dipanggil aja stringnya jadi nanti scara tdk langung jadi. myMarkers ='{"Marker":[{"latitude":"31.42866311735861","longitude":"-98.61328125","icon":"img/house.png","baloon_text":"This is <strong>Texas</strong>"}]}' | | |
|
Tidak ada komentar:
Posting Komentar