Selasa, 03 September 2013

PHP Indonesia - Facebook: mau tnya donk om bro...mas bro ane punya data nila...

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/ 
Mobile Game Development Course

Learn how to create awesome HTML5 games that run on iPhone, iPad, Android and Desktop! Sign up today for this $99 online course.
From our sponsors
mau tnya donk om bro...mas bro ane punya data nila...
Sep 4th 2013, 04:57, by Nur Hidayatullah

Nur Hidayatullah 4:57am Sep 4
mau tnya donk om bro...mas bro
ane punya data nilai terus saya tampilin di urutin dari data terbesar di order by desc,,,nah udah dapet urutan nya dari nilai terbesar sampe terkecil,,
yang mau saya tanya gmna saya bisa nampilin misalkan ada data nilai dengan nama tertentu itu ada di urutan keberapa setelah di descending bgitu,,,
thx sbelumya.... :D

Nur Hidayatullah 4:58am Sep 4
up...

Aris Gates 5:05am Sep 4
itu pakai perulangan kalo ane dengan menggunakan while lalu data dari database tadi dimasukan kesebuah variabel array lalu buat lagi perulangan kedua untuk membaca variabel array yang tadi lalu buat sebuah kondisi if jika data yang diinput = salah1 variabel array maka tampilkan $i = perulangannya

Nur Hidayatullah 5:07am Sep 4
ada yang lebih simple ga om Aris Gates
select nis,total_jumlah,FIND_IN_SET(total_jumlah,(select group_concat(distinct total_jumlah order by total_jumlah desc)from raport_header2 where id_kelas='1' and semester='I'))as rank from raport_header2 where id_kelas='1' and semester='I' order by total_jumlah desc limit 6

Nur Hidayatullah 5:08am Sep 4
saya dah buat pake sintx di atas udah dapet urutan nya di field rank yang jadi as nya itu,,,
nah cara nampilin si nis itu ada di urutan keberapanya itu gmana

Nur Hidayatullah 5:11am Sep 4
nah kaya di bawah ini nih om di program na saya mau nampilin bahwa si N001 itu ada di urutan ke 6 atau nis01 itu ada di urutan pertama...

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