Sabtu, 02 November 2013

PHP Indonesia - Facebook: Apa ya salah ne pren PHP ? :/ ( buatlah ane tersen...

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/ 
LSAT prep from HLS-educated instructors

LSATMax includes video lessons, unlimited personal attention & support, and over 6,000 real questions from previous LSAT's. Enroll for just $299.
From our sponsors
Apa ya salah ne pren PHP ? :/ ( buatlah ane tersen...
Nov 2nd 2013, 14:56, by Kohart

Kohart 2:56pm Nov 2
Apa ya salah ne pren PHP ? :/
( buatlah ane tersenyum lagi :) )

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\www\noke\includes\clsOnlineUsers.php on line 165

*************
function getUsersOnline() {
$this->db = mysql_select_db($this->dbname, $this->conn);
// Get number of users online
$SQL = "SELECT count(ip) FROM ".$this->tablename;
$result = mysql_query($SQL);
$RS = mysql_fetch_row($result); // <---------- line 165
$this->totalusers = $RS[0];
return $RS[0];
}
********************************

.

Husen Darwis 2:58pm Nov 2
count(ip) dirubah jd count(*)

itu jg kalo ga salah. hehehe

Sugiarto Solsel 3:01pm Nov 2
Mungkin gak ada nama tabelnya. $this->tablename;

Mochamad Fadillah Hadiyanto 3:09pm Nov 2
tambahin "order by [nama_field]" kakah di sqlnya.. ^_^

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