Sabtu, 21 September 2013

PHP Indonesia - Facebook: [ASK|Variable] Permisi, om2 programmer.. mau nanya...

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/ 
Refresh your vocabulary.

Learn a new word everyday by subscribing to Word of the Day. A great tool if you're studying for the GRE, GMAT or LSAT, or simply want to enhance your lexicon.
From our sponsors
[ASK|Variable] Permisi, om2 programmer.. mau nanya...
Sep 21st 2013, 08:03, by Imamrose Digmi

Imamrose Digmi 8:03am Sep 21
[ASK|Variable]
Permisi, om2 programmer..
mau nanya om, ini error nya kenapa yaa :/ om .. terus harus gimana ya om ??
󾮜 Source :
--------------------------------------------------------------------------
<?php
mysql_connect('localhost','root','');
mysql_select_db('commedia');

$tampil="select * from tamu";
$qryTampil=mysql_query($tampil);
while ($dataTampil=mysql_fetch_array($qryTampil)) {
$no++
?>
<tr>
<td><?php echo $no; ?></td>
<td><b><?php echo $dataTampil['nama']; ?></b></td>
<td><?php echo $dataTampil['umur']; ?></td>
<td><?php echo $dataTampil['kelamin']; ?></td>
<td><?php echo $dataTampil['sekolah']; ?></td>
<td class="hidden-phone"><?php echo $dataTampil['komentar']; ?></td>
</tr>
<?php } ?>
--------------------------------------------------------------------------
Terimakasih Om Programmer :)

Anton Wahyu Pramono 8:06am Sep 21
$no++ << kurang ;

Pratama Wijaya 8:06am Sep 21
itukan Notice bukan error..

cmiiw

Agus Setiawan 8:06am Sep 21
Line 88

Gembel Berkelas 8:06am Sep 21
tambahkan $no = 0; sbelum while,,,

$no++ kan artinya menambahkan angka pada variable $no, sedangkan $no sendiri belum ada,,,

Imamrose Digmi 8:10am Sep 21
waaahh :o .. Terimakasih paguru programmer :) ..
Ilmu nya sangat membantu ..
maklum baru belajar php om :)

mkasih ya Om Gembel Berkelas :)

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