Minggu, 08 September 2013

PHP Indonesia - Facebook: [tanya] saya kan buat no urut otomatis pake script...

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/ 
Learning HTML & CSS shouldn't be difficult.

Master Trainer, Mark Lassoff, will teach you everything you need to know to create a creative and professional web site in 4 hours.
From our sponsors
[tanya] saya kan buat no urut otomatis pake script...
Sep 8th 2013, 13:43, by Egi Chielarck

Egi Chielarck 1:43pm Sep 8
[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 ?

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