Geri git   Van.GEN.TR Forum | Yerel Van Forumu > Bilgisayar > Programlama > PHP

Cevapla
 
Konu Araçları Stil
Alt 10/11/08, 02:05   #1
PcQoPaT
Onbaşı
 
PcQoPaT - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Jan 2008
Mesajlar: 21
Tecrübe Puanı: 19 PcQoPaT is a jewel in the rough PcQoPaT is a jewel in the rough PcQoPaT is a jewel in the rough
Standart Sayfalatma kodu

PHP- Kodu:
       <?php
require("config.php");
$baglan=mysql_connect($hostname,$username,$passwor  d);
mysql_select_db($db_name) or die ("Database ulaşılamadı"); 
$pass="asdasdasd";
$say=5;

$result mysql_query"SELECT * FROM admin " );
$num_rows mysql_num_rows$result );
$deger $num_rows ;
$deger_sonuc=(integer)$deger;
if(
$num_rows!=$deger_sonuc*5){
$deger_sonuc=$deger_sonuc 1;
}
$basla $_GET["basla"] ? $_GET["basla"] : 1// Kactan baslayacak? 
$ksayfa=($basla 1) * 5;
$result2 mysql_query"SELECT * FROM admin limit $ksayfa,5" );

echo 
"$deger_sonuc <p>";
print 
"<table border=1>\n";
while ( 
$a_row mysql_fetch_row$result2 ) )
{
print 
"<tr>\n";
foreach ( 
$a_row as $haber )
print 
"\t<td>$haber</td>\n";
print 
"</tr>\n";
}
print 
"</table>\n";
    for (
$sayac 1$sayac <= $deger_sonuc $sayac++ ) {
if(
$sayac==$basla){

echo 
"$sayac ";
}else{
echo 
"<a href=\"?basla=$sayac\" style=\"text-decoration: none\">[$sayac] </a>";
}
}
mysql_close$baglan );
?>
PcQoPaT isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 8
Alt 10/11/08, 21:58   #2
{ZeRGuWaN}
*****
 
{ZeRGuWaN} - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Apr 2007
Bulunduğu yer: ZeRGuWaN
Mesajlar: 8.907
Tecrübe Puanı: 200 {ZeRGuWaN} is infamous around these parts
Standart

paylasım icin tskler..
__________________

BEGENDİGİNİZ PAYLASIMLARI KARSILIKSIZ BIRAKMAYIN...





[Bu Adresi (link) Görme Yetkiniz Yok BEDAVA'ya Üye Ol Sitemizden Faydalan....]


[Bu Adresi (link) Görme Yetkiniz Yok BEDAVA'ya Üye Ol Sitemizden Faydalan....]

{ZeRGuWaN} isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 1086
Takımınız:
Alt 10/11/08, 23:00   #3
KAYIP__
Orgeneral
 
KAYIP__ - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Apr 2007
Mesajlar: 4.297
Tecrübe Puanı: 106 KAYIP__ has a reputation beyond repute KAYIP__ has a reputation beyond repute KAYIP__ has a reputation beyond repute KAYIP__ has a reputation beyond repute KAYIP__ has a reputation beyond repute KAYIP__ has a reputation beyond repute KAYIP__ has a reputation beyond repute KAYIP__ has a reputation beyond repute KAYIP__ has a reputation beyond repute KAYIP__ has a reputation beyond repute KAYIP__ has a reputation beyond repute
Standart

tşkler
__________________

KAYIP__ isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 1143
Takımınız:
Alt 21/11/08, 03:14   #4
gokhanaygun
Tuğgeneral
 
gokhanaygun - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Apr 2007
Bulunduğu yer: VAN
Yaş: 36
Mesajlar: 925
Tecrübe Puanı: 26 gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold gokhanaygun is a splendid one to behold
Standart

kısaca limit get bi sabit bide $_GEt atın tamamdır:P
gokhanaygun isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 187
Alt 22/11/08, 11:50   #5
Cago15
UpLoadeR
 
Cago15 - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Nov 2008
Bulunduğu yer: Mersin
Mesajlar: 1.949
Tecrübe Puanı: 31 Cago15 has much to be proud of Cago15 has much to be proud of Cago15 has much to be proud of Cago15 has much to be proud of Cago15 has much to be proud of Cago15 has much to be proud of Cago15 has much to be proud of Cago15 has much to be proud of Cago15 has much to be proud of Cago15 has much to be proud of
Standart

tşkrlr..............
Cago15 isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Konu Sayısı: 1117
Takımınız:
Cevapla


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Konu Araçları
Stil

Yetkileriniz
Yeni Mesaj yazma yetkiniz Aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz Aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz Aktif değildir dir.

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Gitmek istediğiniz klasörü seçiniz


Bütün Zaman Ayarları WEZ +3 olarak düzenlenmiştir. Şu Anki Saat: 23:36 .


Powered by vBulletin
Copyright © 2000-2007 Jelsoft Enterprises Limited.
Sitemap
6, 5, 3, 7, 8, 9, 10, 11, 12, 13, 14, 15, 113, 16, 17, 18, 19, 81, 20, 27, 22, 23, 24, 25, 26, 48, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 43, 136, 40, 58, 45, 42, 44, 46, 47, 53, 54, 55, 56, 57, 59, 60, 70, 61, 62, 63, 64, 65, 66, 68, 69, 71, 72, 74, 75, 76, 77, 78, 79, 80, 82, 83, 96, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 98, 97, 100, 101, 102, 103, 106, 104, 105, 112, 109, 108, 107, 110, 111, 114, 115, 118, 116, 117, 119, 148, 154, 124, 165, 122, 120, 123, 121, 150, 153, 125, 128, 129, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 151, 149, 202, 175, 164, 152, 167, 155, 156, 157, 158, 159, 160, 161, 162, 163, 195, 169, 166, 168, 170, 171, 172, 199, 174, 173, 196, 200, 176, 177, 180, 178, 179, 182, 189, 187, 184, 186, 191, 192, 193, 194, 197, 198, 201, 203, 229, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 236, 231, 232, 233, 234, 235, 237, 240, 239, 241, 243, 242, 244,