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/ | |
 | Exotic travel ideas.
Searching for your next vacation destination? Subscribe to Off The Beaten Path, a newsletter featuring captivating locales to help you to plan your next trip.  | From our sponsors | | |
gan cara masukin data ke admin gmna? Sep 13th 2013, 17:12, by Last Mint | gan cara masukin data ke admin gmna? |
| | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head>
<body> <table width="100%" border="1" cellspacing="0" cellpadding="0"> <tr> <td width="26" align="center" valign="top" bgcolor="#666666"><strong>No</strong></td> <td width="151" align="center" valign="top" bgcolor="#666666"><strong>Nama</strong></td> <td width="78" align="center" valign="top" bgcolor="#666666"><strong>Nis</strong></td> <td width="115" align="center" valign="top" bgcolor="#666666"><strong>User Name</strong></td> <td width="292" align="center" valign="top" bgcolor="#666666"><strong>Password</strong></td> <td colspan="2" align="center" valign="top" bgcolor="#666666"><strong>Action</strong></td> </tr> <?php mysql_connect("localhost","root","123456"); mysql_select_db("elearningsmk"); $tabel=mysql_query("select * from siswa"); $no=1; while($data=mysql_fetch_array($tabel)) { ?> <tr> <td align><?php echo $no; ?></td> <td align="center" valign="top"><?php echo $data[nama]; ?></td> <td align="center" valign="top"><?php echo $data[nis]; ?></td> <td align="center" valign="top"><?php echo $data[username]; ?></td> <td align="center" valign="top"><?php echo $data[password]; ?></td> <td width="68" align="center" valign="top"><strong><a href="editDataSiswa.php?ubah=<?php echo $data[id]; ?>"><img src="../images/i_edit.png" /></a></strong></td> <td width="70" align="center" valign="top"><strong><a href="prosesDeleteDataSiswa.php?hapus=<?php echo $data[id]; ?>"><img src="../images/i_delete.png" /></a></strong></td> </tr> <?php $no++; } ?> </table> </form> <p><a href="admin.php?pinput=siswa"><button>Input Data Siswa</button> </a></p> </body> </html> |
| | INSERT INTO nama_table ($colum1, $colum2, $colum3,... $colum-N) VALUES ($value1, $value2, $value3); | | |
|
Tidak ada komentar:
Posting Komentar