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/ | |
 | Pay Off Debt Faster
Tackle your debt and protect your credit with our free online tools.  | From our sponsors | | |
[ask] help me para master master saya punya script... Sep 20th 2013, 14:51, by Edi Setiawan | [ask] help me para master master saya punya script trus di browser ada muncul huruf ( n ) tak tau dr mana asla nya .... begini script nya :
<?php include ("koneksi.php"); $date = date('d/F/Y'); $result = mysql_query ("SELECT * From siswa"); ?> <div align="center"> <table width="800" >
<td width="125"><img src="logo.jpg" width="100" height="80"/></td> <td width="850"><div align="center"> <h3> </h3> <h4> </h4>
</div>
<div align="center"></td>
</table> <hr/> <h2> Laporan Data Siswa</h2> </div>
<div align="center"> <table width = "821" border = "1" cellpadding="5" cellspacing="0"> </div> <tr> <th width="65" height="38" bgcolor="#FF0000"> No </th> <th width="220" height="38" bgcolor="#FF0000"> NIS</th> <th width="506" bgcolor="#FF0000"> Nama </th> <th width="95" bgcolor="#FF0000"> Tempat</th> <th width="205" bgcolor="#FF0000"> Tgl Lahir </th> <th width="10" bgcolor="#FF0000"> Jk</th> <th width="20" bgcolor="#FF00600"> Agama </th> <th width="20" bgcolor="#FF0000"> Alamat </th>
</tr>
<?php $no = 0; while ($r = mysql_fetch_array ($result)) { $no ++; ?> <tr> <td><?php echo $no;?></td> <td><?php echo $r['nis'];?></td> <td><?php echo $r['nama'];?></td> <td><?php echo $r['tempat_lahir'];?></td> <td><?php echo $r['tgl_lahir'];?></td> <td><?php echo $r['jk'];?></td> <td><?php echo $r['agama'];?></td> <td><?php echo $r['alamat'];?></td>
<?php } ?>
</table> <div align="Right"> <p> Perawang, <?php echo $date; ?></p>
</div> |
| | cek di koneksi.php |
| | Klo di koneksi.phpnya ada yg aneh gak bro? |
| | hehehehehehehe makasih bgt mas Askinas Kurniawan sampek gk selera makan gara2 itu |
| | iya mas brooo Cruzen Aldo sudah bs mas....:D |
| | (y) |
| | benerin tuh gan tag2 html'a
setelah table ada tr lalu td
kemudian ini
<div align="center"></td> gada penutup div |
| | Itu memang fitur di PHP nya, klo muncul huruf "n" itu tandanya "normal" yg artinya tidak ada error nya... LOL | | |
|
Tidak ada komentar:
Posting Komentar