Sabtu, 21 September 2013

PHP Indonesia - Facebook: abang2 master sya membutuhkan bantuan anda sya me...

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
abang2 master sya membutuhkan bantuan anda sya me...
Sep 21st 2013, 15:20, by Petrix Betoufa

Petrix Betoufa 3:20pm Sep 21
abang2 master sya membutuhkan bantuan anda

sya membuat table utuk menampilkan data dari database dari table yg saling berrelasi.

tpi kenapa yg tampil hanya satu padahal didalam table database lebih dari satu isinya kira yg salah di bagian mana ya

ni sricpnya

<?php
include"../inc/koneksi.php";
//menampilkan ke table dari relasi tiga table,
$sql = mysql_query("SELECT * FROM boking_kamar, pelanggan, kamar WHERE boking_kamar.id_pelanggan=pelanggan.id_pelanggan AND boking_kamar.id_kamar=kamar.id_kamar");
while ($r = mysql_fetch_array($sql)){
?>
<tr>
<td><?php echo $r['id_booking_kamar']?></td>
<td><?php echo $r['nama_pelanggan']?></td>
<td><?php echo $r['type_kamar']?></td>
<td><?php echo $r['tgl_boking']?></td>
<td><?php echo $r['tgl_cek_in']?></td>
<td><a href="del_kamar.php?hapus=<?php echo $r['id_booking_kamar']?>">hapus</a></td>
</tr>
<?php }
?>

sebelumnya trimakasih

YogYog Sukha Sukha 3:23pm Sep 21
cek query, pake join

Petrix Betoufa 3:26pm Sep 21
pake sintak INNER JOIN ya?

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