Kamis, 15 Agustus 2013

PHP Indonesia - Facebook: [ask] maaf nanya lagi :D udah jadi tinggal sediki...

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/ 
Design-Led Engineering

Sourcebits - When your Mobile App has to be absolutely developed right. We've built more than 20 apps that have cracked the Top 10 in the App Store.
From our sponsors
[ask] maaf nanya lagi :D udah jadi tinggal sediki...
Aug 15th 2013, 15:22, by Ilham Syaputra

Ilham Syaputra 3:22pm Aug 15
[ask]
maaf nanya lagi :D

udah jadi tinggal sedikit polesan webnya :D nih kalo mau liat ~> bombgreget.ml
pertanyaan:
gimana buat klasifikasi tingkatan?
misalkan : si a dengan spam 3 dan si b dengan spam 20
trus kalo di bawah 10 tingkatan "iseng" kalo udah lebih sepuluh tingkatan "SPAMMER"

udah di coba dengan ini
$act2=mysql_fetch_array(mysql_query("SELECT spam FROM user_spammer WHERE username ='".$access_token['screen_name']."'"));
if ($act2 < 10) {
$Status = "iseng";
else if ($act2 > 10) {
$status = "SPAMMER";
}

trus malah blank? saya coba dengan satu aja
if ($act2 < 10) {
$Status = "iseng";
}

muncul, nah pertanyaan ke dua, apakah ga bisa $Status nya sekali2 gitu? atau koding saya yang salah?? mohon pencerahannya :D

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