Kamis, 15 Agustus 2013

PHP Indonesia - Facebook: Gan, ini cara ngatasinnya gimana yah ? Notice: Us...

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
Gan, ini cara ngatasinnya gimana yah ? Notice: Us...
Aug 15th 2013, 10:14, by Teddy Novanda

Teddy Novanda 10:14am Aug 15
Gan, ini cara ngatasinnya gimana yah ?

Notice: Use of undefined constant nrp - assumed 'nrp' in C:\xampp\htdocs\toeflearn\login.php on line 10

Notice: Undefined index: nrp in C:\xampp\htdocs\toeflearn\login.php on line 10
Login gagal, karena nama & password tidak benar atau
Anda belum terdaftar sebagai anggota

Arnas Risqianto 10:17am Aug 15
$row['nrp']
$row['password']

Andy Wijaya 10:19am Aug 15
if($row['nrp'] == $nrp && $row['password'] == $password)
{
...
}

Wahyudi Sampurno 10:19am Aug 15
nrp tidak dikenal i

Rizaldi Maulidia 10:20am Aug 15
bener tuh kata om Arnas Risqianto harusnya:
1. $row['nrp'] bukan $row[nrp]
2. $row['password'] bukan $row[password]
3. $row['level'] bukan $row[level]

Nico Amon 10:25am Aug 15
Karena data tidak ada, alias kosong. Coba seperti ini:
if($row){
//baru if($row['nrp']
if($row['nrp']== bla bla bla){



//bla bla bla
}
}

Teddy Novanda 10:35am Aug 15
tetep gk bisa gan, muncul error : Notice: Undefined index: nrp in C:\xampp\htdocs\toeflearn\login.php on line 10

Andy Wijaya 10:36am Aug 15
coba cek tabel member.. apa benar ada kolom nrp..

Budy Candra Kirana 10:37am Aug 15
sepertinya cek ulang filed tabelnya..:)

Teddy Novanda 10:39am Aug 15
ini gan tabelnya :

Rizaldi Maulidia 10:41am Aug 15
di table nama kolomnya Nrp bukan nrp jadi pemanggilannya harus $row['Nrp']... begitu mas coba dulu

Farid Er 10:42am Aug 15
case sensitive?

Rizaldi Maulidia 10:43am Aug 15
^yoi bener..

Budy Candra Kirana 10:49am Aug 15
Kalo misal properti name diform udah sesuai tp bm bisa coba line 10 diganti begini: if ($row['nrp']=='$nrp' && $row['password']=='$password')

Teddy Novanda 10:54am Aug 15
Nrp nya sudah ane ganti jadi nrp pada kolom tabel_member, muncul error seperti ini gan : Fatal error: Call to undefined function session_register() in C:\xampp\htdocs\toeflearn\login.php on line 13

Farid Er 10:56am Aug 15
eh ini php versi berapa btw?

Rizaldi Maulidia 10:57am Aug 15
mas ini pake php versi berapa? coba jangan pake session register langsung aja kaya gini:

$_SESSION['namauser'] = $row['nrp'];
$_SESSION['password'] = $row['password'];
$_SESSION['level''] = $row['level'];

Ħëñgky Tŵ 10:57am Aug 15
coba sessionya taruh baris paling atas : <?php session_start(); ........

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