Plik artykuly.php (który wyświetla artykuly) mam zrobiony tak:
<html>
<head>
<link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\">
</head>
<a name=\"top\"></a>
<TABLE border=\"0\" WIDTH=\"465\" height=\"30\" ALIGN=\"center\" VALIGN=\"top\" CELLSPACING=\"0\" CELLPADDING=\"1\">
<TD background=\"tytul.gif\" WIDTH=\"465\" height=\"30\" ALIGN=\"center\" VALIGN=\"top\">
<div align=\"left\"> <font color=\"white\"><b> Opowiadania</td></tr>
<TABLE BORDER=\"0\" WIDTH=\"465\" ALIGN=\"center\" CELLSPACING=\"0\" CELLPADDING=\"1\">
<TD bgcolor=\"black\" WIDTH=\"465\" ALIGN=\"center\" VALIGN=\"top\">
<div align=\"left\"><font color=\"#FFFFFF\">
<p style=\"margin: 10px\">
<?
$dane=file(\"data.txt\"); for($i=0;$i<count($dane);$i++)
{
$linia=explode(\"|\",$dane[$i]);
<a href=\"#$linia[0]\"><font color=\"white\">$linia[0]</font></a>
<br>
\";
}
?>
</p>
</div></b></font>
</td></tr>
<TABLE BORDER=\"0\" height=\"30\" WIDTH=\"465\" ALIGN=\"center\" CELLSPACING=\"0\" CELLPADDING=\"1\">
<TD background=\"tytul.gif\" WIDTH=\"465\" height=\"30\" ALIGN=\"center\" VALIGN=\"top\">
<font size=\"3\" color=\"white\"><div align=\"right\"></b> <i><b></b></i>
</td></tr>
</table></table></table>
<br />
<?
$dane=file(\"data.txt\"); for($i=0;$i<count($dane);$i++)
{
$linia=explode(\"|\",$dane[$i]);
<TABLE border=\"0\" WIDTH=\"465\" height=\"30\" ALIGN=\"center\" VALIGN=\"top\" CELLSPACING=\"0\" CELLPADDING=\"1\">
<TD background=\"tytul.gif\" WIDTH=\"465\" height=\"30\" ALIGN=\"center\" VALIGN=\"top\">
<div align=\"left\"> <font color=\"white\"><b><a name=\"$linia[0]\"></a> $linia[0] - $linia[1]</td></tr>
<TABLE BORDER=\"0\" WIDTH=\"465\" ALIGN=\"center\" CELLSPACING=\"0\" CELLPADDING=\"1\">
<TD bgcolor=\"black\" WIDTH=\"465\" ALIGN=\"center\" VALIGN=\"top\">
<div align=\"left\"><font color=\"#FFFFFF\">
<p style=\"margin: 10px\">
$linia[2]
</p>
</div></b></font>
</td></tr>
<TABLE BORDER=\"0\" height=\"30\" WIDTH=\"465\" ALIGN=\"center\" CELLSPACING=\"0\" CELLPADDING=\"1\">
<TD background=\"tytul.gif\" WIDTH=\"465\" height=\"30\" ALIGN=\"center\" VALIGN=\"top\">
<font size=\"3\" color=\"white\"><div align=\"right\"></b><a href=\"#top\"><font color=\"white\">do góry</font></a> dodał: <i><b><a href=\"mailto:$linia[4]\">$linia[3]</a></b></i>
</td></tr>
</table></table></table>
<br />
\";
}
?>
</html>
I jak zrobić żeby artykuly byly wyswietlane powiedzmy po 10 na stronie...(IMG:
http://forum.php.pl/style_emoticons/default/questionmark.gif) ?