Minggu, 20 Oktober 2013

PHP Indonesia - Facebook: [Tanya] Saya sedang dapat masalahs seperti ini, sa...

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/ 
Curious about BaaS?

Get the full feature comparison in our free eBook comparing the time to create your own cloud backend to a Backend as a Service like Kinvey.
From our sponsors
[Tanya] Saya sedang dapat masalahs seperti ini, sa...
Oct 20th 2013, 10:55, by Yophy Ady Kurniawan

Yophy Ady Kurniawan 10:55am Oct 20
[Tanya] Saya sedang dapat masalahs seperti ini, saya membuat variabel yang keluarannya seperti ini saya kirim menggunakan JSON :
file getdatabase.php isinya :
{"lokasi": {"peta":[ {"no_kk":"2050101109090001", "x":"122.529160", "y":"-4.009630", "jenis":"rumah" "alamat":"BTN. Unhalu Blok J. No 1 Kampus Baru" }]}}

file index.php isinya :
saya ingin menangkap isi dari variablenya menggunakan jquery seperti ini
rumah[i] = msg.lokasi.peta[i].alamat;

errornya An invalid or illegal string was specified.
saya pake Jquery 1.8.2
mohon bantuanya mas2 sekalian..

Yophy Ady Kurniawan 10:57am Oct 20
minta maaf mas itu tanda senyum sebenernya ":["

Yophy Ady Kurniawan 10:57am Oct 20
up

Yophy Ady Kurniawan 10:57am Oct 20
up

Yophy Ady Kurniawan 10:57am Oct 20
up

Yophy Ady Kurniawan 10:59am Oct 20
mas Cahya Dsn pencerahanya.. saya tes di 1.4.3 jalan, mohon maaf merepotkan lagi mas...

Ahmad Hajar 11:01am Oct 20
kan harusnya ": [" bukan ": ("

Yophy Ady Kurniawan 11:03am Oct 20
malah tetep muncul senyumnya.. ": [" seperti ini mas..

Verri Andriawan 11:04am Oct 20
read the following link..

http://api.jquery.com/jQuery.parseJSON/

Ahmad Hajar 11:08am Oct 20
"jenis":"rumah" "alamat":"BTN. Unhalu Blok J. No 1 Kampus Baru"

harusnya ada koma

"jenis":"rumah", "alamat":

Yophy Ady Kurniawan 11:09am Oct 20
matur nuwun mas... ke TKP dulu..

Yophy Ady Kurniawan 11:14am Oct 20
mas Ahmad Hajar terima kasih banyak udah jalan, kurang teliti saya mas... [solved]..

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