Senin, 14 Oktober 2013

PHP Indonesia - Facebook: bang gimana cara nya biar page halaman nya selalu ...

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/ 
Marketing Mobile Apps

This online course focuses on marketing efforts that will increase your app's exposure and establish a mobile app marketing plan. Enroll today for $99.
From our sponsors
bang gimana cara nya biar page halaman nya selalu ...
Oct 14th 2013, 08:28, by Taufik Ismail

Taufik Ismail 8:28am Oct 14
bang gimana cara nya biar page halaman nya selalu ada di bawah ?
berikut codingan saya :

$per_page = 3;

$page_query = mysql_query("SELECT COUNT(*) FROM anggota");
$pages = ceil(mysql_result($page_query, 0) / $per_page);

$page = (isset($_GET['page'])) ? (int)$_GET['page'] : 1;
$start = ($page - 1) * $per_page;

$query = mysql_query("SELECT * FROM anggota LIMIT $start, $per_page");
echo "<div id='gallery'> ";
echo"<ul id='main'>";
while($query_row = mysql_fetch_assoc($query)){

$b = $query_row['nama_anggota'];
$e = $query_row['Foto'];
$f = $query_row['no_id'];

$namafolder="CPANNEL/fotoanggota/";
$gambar = $namafolder .basename($e) ;

echo "<li>". "<a href=\"profile_anggota.php?no_id=$f\">". $b . '</a>' . "";
echo "<p><img src=\"$gambar\" width=\"200\"height=\"200\"/></p>" . "</li>";

}

if($pages >= 1 && $page <= $pages){
for($x=1; $x<=$pages; $x++){
echo ($x == $page) ? '<b><a href="?page='.$x.'">'.$x.'</a></b> ' : '<a href="?page='.$x.'">'.$x.'</a> ';
}
}

Muhamad Najib 8:30am Oct 14
atur aja di dalam CSS nya gan..

Muhamad Najib 8:30am Oct 14
atau buat baru element css nya..

Zafran Fadilah 8:34am Oct 14
bagian gambarnya pake float left?di clear dulu coba stylenya..

Taufik Ismail 8:41am Oct 14
gk bisa bang, bingung

Muhamad Najib 8:42am Oct 14
lahhh , bikin css nya bisa ga.../

Zafran Fadilah 8:43am Oct 14
disitu kan ada:
echo "<div id='gallery'> ";
echo"<ul id='main'>";

coba cari ujungnya..script echo link nya taro dibawahnya </ul> klo gak </div>
coba aja cobaa..

Muhamad Najib 8:45am Oct 14
Kalo ada Css nya iya ke panggil gan , kalo ga ada...??

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