Arez Posted June 3, 2006 Share Posted June 3, 2006 The code is[code]This writes actions into the logs pageglobal $bordercolor1, $tablebg1;echo "<table align='center' border='1' bordercolor='$bordercolor1' cellspacing='0' cellpadding='0' width='550'><tr><td class='main' background='$tablebg1'><center><b>View Logs</b></center></td></tr><tr><td class='small'><br><blockquote>";$query = "SELECT * FROM log ORDER BY id DESC";$result = mysql_query($query)or die("error");while($row = mysql_fetch_array($result)){extract($row);echo "<b>Date:</b> $date1<br><b>Action:</b> $action<br><b>Reason:</b> $reason<br><hr size='1' width='500' color='$bordercolor1'><br>";}echo "</blockquote></td></tr></table>";[/code]How would I get that to make page 1, 2, 3, etc? it's putting it all on one page and it gets too big. Link to comment https://forums.phpfreaks.com/topic/11092-how-do-i-have-this-make-seperate-pages/ Share on other sites More sharing options...
.josh Posted June 3, 2006 Share Posted June 3, 2006 look into pagination. Link to comment https://forums.phpfreaks.com/topic/11092-how-do-i-have-this-make-seperate-pages/#findComment-41487 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.