Jump to content
Updating IPB tonight Read more... ×


This topic is now archived and is closed to further replies.


How do I have this make seperate pages?

Recommended Posts

The code is

[code]This writes actions into the logs page

global $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>
<td class='small'><br>

$query = "SELECT * FROM log ORDER BY id DESC";
$result = mysql_query($query)
or die("error");
while($row = mysql_fetch_array($result))
echo "
<b>Date:</b> $date1<br>
<b>Action:</b> $action<br>
<b>Reason:</b> $reason<br>
<hr size='1' width='500' color='$bordercolor1'>

echo "</blockquote>

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.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.