Teknonix adlı üyeden alıntı: mesajı görüntüle
Merhaba, kodlarınızı inceledim ve denedim, döngü veya sayfalamada herhangi bir sorun yok. verileri çekip lisleme yapıyor ve sayfa linklerine tıklayınca sonraki sayfalara geçiyor. sizin yapamadığınız nedir acaba?

ben isterseniz ana sayfayı direk atim hatayıda yazim

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Tepenistan Dizi Film izle</title>
<meta name="description" content="Tepenistan Dizi Film izle">
<meta name="keywords" content="Tepenistan Dizi Film izle">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-9">
<meta name="author" content="Mustafa Boztepe">
<meta name="generator" content="Web Page Maker">
<link rel="stylesheet" type="text/css" href="default.css" />
<style type="text/css">
div#container
{
	position:relative;
	width: 734px;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	text-align:left; 
}
body {text-align:center;margin:0}
</style>

</head>
<body Link="#000000" VLink="#000000" ALink="#000000">
<div id="container">
<div id="hr1" style="position:absolute; overflow:hidden; left:0px; top:85px; width:727px; height:17px; z-index:0">
<hr size=2 width=727>
</div>

<div id="image1" style="position:absolute; overflow:hidden; left:2px; top:0px; width:251px; height:84px; z-index:1"><img src="images/logo.png" alt="" title="" border=0 width=251 height=84></div>

<div id="text1" style="position:absolute; overflow:hidden; left:279px; top:65px; width:447px; height:23px; z-index:2">
<div class="wpmd">
<div><font face="Times New Roman" class="ws12"><a href="index.php" title="" class="style1">Ana Sayfa</a></font><font face="Times New Roman" class="ws12">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ||&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><font face="Times New Roman" class="ws12"><a href="hatalilink.php" title="" class="style1">Bozuk Link</a></font><font face="Times New Roman" class="ws12">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ||&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><font face="Times New Roman" class="ws12"><a href="hakkimizda.php" title="" class="style1">Hakkımızda</a></font><font face="Times New Roman" class="ws12">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ||&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; İletişim</font></div>
</div></div>

<div id="shape1" style="position:absolute; overflow:hidden; left:548px; top:97px; width:180px; height:878px; z-index:3"><img border=0 width="100%" height="100%" alt="" src="images/shape12985984.png"></div>

<div id="text2" style="position:absolute; overflow:hidden; left:553px; top:152px; width:170px; height:26px; z-index:4">
<div class="wpmd">
<div align=center><font face="Times New Roman" class="ws12">Kategoriler</font></div>
</div></div>

<div id="hr2" style="position:absolute; overflow:hidden; left:551px; top:168px; width:170px; height:35px; z-index:5">
<hr size=2 width=170>
</div>

<div id="text3" style="position:absolute; overflow:hidden; left:552px; top:734px; width:170px; height:26px; z-index:6">
<div class="wpmd">
<div align=center><font face="Times New Roman" class="ws12">Sponsor Bağlantı</font></div>
</div></div>

<div id="hr3" style="position:absolute; overflow:hidden; left:551px; top:750px; width:170px; height:35px; z-index:7">
<hr size=2 width=170>
</div>

<div id="hr4" style="position:absolute; overflow:hidden; left:551px; top:723px; width:170px; height:35px; z-index:8">
<hr size=2 width=170>
</div>

<div id="html1" style="position:absolute; overflow:hidden; left:554px; top:178px; width:169px; height:549px; z-index:9">
<?php
include("db.php");
$sorgu=mysql_query("SELECT * FROM kategoriler");

while($verilerimiz=mysql_fetch_array($sorgu)){

$no=$verilerimiz['no'];
$katbaslik=$verilerimiz['katbaslik'];

echo "

 <a href='goster.php?kategorino=$no'><ul>
 <p><b><font size='2'>$katbaslik</font></b></p>
</ul>
 </a>";
}

?></div>

<div id="hr5" style="position:absolute; overflow:hidden; left:0px; top:971px; width:728px; height:17px; z-index:10">
<hr size=2 width=728>
</div>

<div id="text4" style="position:absolute; overflow:hidden; left:235px; top:982px; width:499px; height:22px; z-index:11">
<div class="wpmd">
<div><font color="#C0C0C0" face="Times New Roman">Copyright © 2010 Her Hakkı Saklıdır. Desing and Encoder By Mustafa Boztepe || Tepenistan ||</font></div>
</div></div>

<div id="html2" style="position:absolute; overflow:hidden; left:258px; top:0px; width:468px; height:60px; z-index:12">
reklam
</div>

<input name="formtext1" value="Arama..." type="text" style="position:absolute;width:141px;left:550px;top:111px;z-index:13">
<input name="formbutton1" type="submit" value="ara" style="position:absolute;left:695px;top:110px;z-index:14">
<div id="html3" style="position:absolute; overflow:hidden; left:6px; top:120px; width:540px; height:711px; z-index:15">
<?php
include("db.php");
$sorgu2=mysql_query("SELECT * FROM yazilar");$kactane=mysql_num_rows($sorgu2);
$sayfa=$_GET['sayfano'];$gosterim=4;$sayfasayisi=ceil($kactane/$gosterim);if($sayfa>$sayfasayisi ||  $sayfa<1 || !is_numeric($sayfa)){$sayfa=1;}$son = ($sayfa-1)*$gosterim;

$sorgu=mysql_query("SELECT * FROM yazilar WHERE onay='1' order by no DESC LIMIT $son,$gosterim");
while($verilerimiz=mysql_fetch_array($sorgu)){
$baslik=$verilerimiz['baslik'];
$resim=$verilerimiz['resim'];
$elm1=$verilerimiz['elm1'];$elm1=wordwrap($elm1,45,"<br />\n",true);



echo "<div align='center'>
	<table border='0' cellpadding='0' cellspacing='0' width='34%' height='191'>
	<tr>
		<td height='20' width='132'>&nbsp;</td>
		<td height='20'>$baslik</td>
	</tr>
	<tr>
		<td width='132'>$resim</td>
		<td>$elm1</td>
	</tr>
	</table></div> ";
}



$sayi=1;
echo "SAYFALAR: ";
while($sayi<=$sayfasayisi){
if($sayi==$sayfa){
echo "
<a style='cursor:not-allowed;' title='ZATEN BU SAYFADASINIZ'><font color='purple'> $sayi</font></a>
";
}else{
echo "
<a href='index.php?sayfano=$sayi' style='text-decoration:none;'><font color='purple'> $sayi</font></a>
";
}//if sonu
$sayi++;
}//döngü sonu

?></div>

</div>

</body>
</html>
hatada şunlar

Notice: Undefined index: sayfano in C:\wamp\www\diziizle\index.php on line 101

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\diziizle\index.php on line 104
SAYFALAR: 1