Rabu, 09 Oktober 2013

PHP Indonesia - Facebook: Permisi Mastah-mastah. Ada yang mau saya tanyakan....

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/ 
Manage your social media

Best social media tool for image publishing to Facebook and Twitter. Look amazing and delight your followers. Get 40% off when you sign up today.
From our sponsors
Permisi Mastah-mastah. Ada yang mau saya tanyakan....
Oct 10th 2013, 04:27, by Teguh Oktian

Teguh Oktian 4:27am Oct 10
Permisi Mastah-mastah. Ada yang mau saya tanyakan. Mohon Bantuannya,
Jadi begini, saya punya file txt,format isinya seperti ini.

ID_SITE,IMEI,LAC,CI
ID_SITE,IMEI,LAC,CI
ID_SITE,IMEI,LAC,CI
...............................

file txt itu terdiri dari 1 juta lebih baris. Saya parsing kemudian saya masukkan dalam dalam array.
Saya punya table look_up di database, Terdiri dari sekitar 20500-an baris. Saya butuh SITE_NAME (dari tabel look_up) berdasarkan ID_SITE (dari hasil parsing).
Saya pakai query "SELECT * FROM look_up WHERE ID_SITE ='$ID_SITE'";
Anehnya SITE_NAME itu kadang nggak muncul padahal di tabel look_up ID_SITE nya ada.
Kenapa ya mastah? Apa karena looping nya kebanyakan? (Mohon Bantuannya Sangat).

Ini Codenya:

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