This pagination script is doodoo - I need a better one!
- by ClarkSKent
Hello, I was looking at the pagination script (posted below) and found it to be gros,s and not very good at all especially when trying to customize it.
This is what the main page looks like:
<?php
include('config.php');
$per_page = 9;
//Calculating no of pages
$sql = "select * from messages";
$result = mysql_query($sql);
$count =…