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/ | |
|
Permisi master mau tanya "select * from modul whe... Nov 3rd 2013, 05:37, by Danang Vai Kurniawan | Permisi master mau tanya
"select * from modul where aktif='Y' and urutan='1'" dari skrip diatas kalo kita pengen nampilin urutan 1 sampai 5 gt gmn ? |
| | urutan <= 5 |
| | "select * from modul where aktif='Y' and urutan<='5'" |
| | SELECT * FROM modul WHERE aktif = 'Y' LIMIT 0 , 5 |
| | maksudnya urutan tu 1 2 3 4 5 gitu ya?? mungkin pake ""select * from modul where aktif='Y' order by urutan asc" cmiiw |
| | Select * from modul where aktif='Y' order by urutan limit 0,5 |
| | $pencarian=mysql_query("select * from modul where aktif='Y' order by urutan") | | |
|
Tidak ada komentar:
Posting Komentar