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/ | |
|
[tanya] saya kan buat no urut otomatis pake script... Sep 8th 2013, 13:43, by Egi Chielarck | [tanya] saya kan buat no urut otomatis pake script di bawah ni : $q = mysql_query("SELECT max(no) as maxno FROM post"); $row = mysql_fetch_array($q); if($row[0]=="") { $no=1; }else{ $no = $row[maxno]+1; }
tpi knp pas no urut nya mau ke 11 dia gk nambah otomatis lg . giliran bagian ini di ganti jadi $no = $row[maxno]+2; bru mau ke nomor 11 . dan seterus nya ke nomor berikut nya jg hrs +3 kira2 apa yg salah ya itu ? | | |
|
Tidak ada komentar:
Posting Komentar