New Wallpaper OSX Keren"

Kalau mau yang bagus2 browsing aja kali ya di google images....:)

Office

Under Contruction

This Picture

Under Contruction

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Sabtu, 21 Juli 2012

Menampilkan Profile User dengan PHP...

"" Contoh skriptnya seperti ini....

<?php
include ('./conn.php');
$nama=$_SESSION['username'];
?>


 <?php
$masuk="select * from data_siswa where username='$nama'; ";
$blog=mysql_query($masuk);
while($a=mysql_fetch_row($blog))
{
echo '<div id="page-heading">
    <h1>Profile Pribadi Siswa</h1>
</div>';
echo'<br />';
echo'<br />';
echo '<div id="content-table-inner"><center><table border="0" width="75%" cellpadding="0" cellspacing="0" id="product-table">';
echo '<tr>
            <th width="5%" class="table-header-repeat line-left minwidth-1"><a href="">NIS</a>    </th>
            <th width="28%" class="table-header-repeat line-left minwidth-1"><a href="">Nama Siswa</a></th>
            <th width="28%" class="table-header-repeat line-left minwidth-1"><a href="">Jenis Kelamin</a></th>
            <th width="4%" class="table-header-repeat line-left minwidth-1"><a href="">Alamat</a></th>
            <th width="16%" class="table-header-repeat line-left minwidth-1"><a href="">No Telpon</a></th>
            <th width="11%" class="table-header-repeat line-left minwidth-1"><a href="">Username</a></th>
            <th width="15%" class="table-header-repeat line-left minwidth-1"><a href="">Password</a></th>         
        </tr>';
echo '<tr>
<td> '.$a[2].'</td>
<td> '.$a[1].'</td>
<td> '.$a[3].'</td>
<td> '.$a[4].'</td>
<td> '.$a[5].'</td>
<td> '.$a[6].'</td>
<td> '.$a[7].'</td>
</tr>';
echo '</table></center></div>';
echo'<br />';
echo'<br />';
echo'<br />';
}
?>

di form index nya jangan lupa telah ada session usernamenya ya??
tinggal panggil aja linknya....dan tampilin di page....MUDAH _ MUDAHAN berguna....:)