So i know this has been asked a billion times (maybe a trillion but idk), but i tried google, tutorial sites, the search feature here and nothing seems to be working for me i keep getting errors or its not what i need so here i come asking for help again.
I have this to display my data as it is designed to function as a forum but im calling it 'admin notes' in my script.
PHP Code:
<?php
while($rows = mysql_fetch_array($admin_forum_result)) {
$dateformat = "M j, Y";
?>
<tr>
<td class="table_check"><input type="checkbox" class="noborder" /></td>
<td class="table_date"><? echo date($dateformat ,$rows['datetime']); ?></td>
<td class="table_title"><? echo $rows['topic']); ?></td>
<td><? echo $rows['category']); ?></td>
<td><? echo $rows['priority']); ?></td>
<td><? echo $rows['username']); ?></td>
</tr>
<?php } ?>
I want to use pagination to display 5 rows (topics) per page..
My database looks like this:
DB NAME = staff
TABLE NAME = adminforum_question
ROWS = id, topic, message, name, datetime, priority, category
Every tutorial i read kept giving me errors and i got frustrated figuring it out so.
Any help is appreciated.