Senin, 09 September 2013

PHP Indonesia - Facebook: Gan klo pakai fungsi json_encode() kira-kira forma...

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/ 
Learning HTML & CSS shouldn't be difficult.

Master Trainer, Mark Lassoff, will teach you everything you need to know to create a creative and professional web site in 4 hours.
From our sponsors
Gan klo pakai fungsi json_encode() kira-kira forma...
Sep 10th 2013, 05:28, by Hendri Prayugo

Hendri Prayugo 5:28am Sep 10
Gan klo pakai fungsi json_encode() kira-kira format array yg hasilnya ouputnya seperti dibawah gimana yah ? agak sedikit bingung munculin tanda "[..]"
{
"Marker": [
{"latitude": "31.42866311735861", "longitude":"-98.61328125", "icon": "img/house.png", "baloon_text": 'This is <strong>Texas</strong>'}
]
}

Zeroo 5:30am Sep 10
coba diginikan gan,
var_dump(json_decode("{
"Marker": [
{"latitude": "31.42866311735861", "longitude":"-98.61328125", "icon": "img/house.png", "baloon_text": 'This is <strong>Texas</strong>'}
]
}"));

Fazrin Mayer 5:31am Sep 10
nah tuh,, baru mau post :3
http://php.net/manual/en/function.json-decode.php

Hendri Prayugo 5:34am Sep 10
sip2 gak kepikiran klo di decode bkal ketahuan carae #FaktorGadang

Hendri Prayugo 5:55am Sep 10
"[..]" dah oke gan tv setelah sebelum tanda "/" malah muncul "\"
jadi hasilnya
{"Marker":[{"latitude":"31.42866311735861","longitude":"-98.61328125","icon":"img\/house.png","baloon_text":"This is Texas<\/strong>"}]}
encodenya bisa di custom gak yah?

Hendri Prayugo 6:00am Sep 10
hehe solved gan tinggal ditambah JSON_UNESCAPED_SLASHES

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar