QUOTE(. Adam . @ Jan 29 2007, 05:15 PM)

Is now working for me, updated code.
- Adam

Good stuff, it's working properly now but there still are a few things i would like to point out

I hope you don't mind.
1) config.php
CODE
$connect = mysql_connect( 'localhost', 'root', '' ) or die(mysql_error()); // Connect to MySQL.
mysql_select_db( 'test' ); // Select the database.
It would be alot easier if you did this the following way
CODE
$connect = mysql_connect( 'localhost', 'YOURDATABASEUSERNAME', 'YOURDATABASEPASSWORD' ) or die(mysql_error()); // Connect to MySQL.
mysql_select_db( 'YOURDATABASENAME' ); // Select the database.
2) Almost all the files contain loads of breaks/spaces between the code, is that really necessary ?
3) In stats.php you've included two files
CODE
require_once 'config.php'; // Include config file.
require_once 'hit.php'; // Record the hits to this page
Why are we including the hit.php file here ? Unless we want to count hits for people viewing our stats.php page i don't think it's needed. You should comment this in stats.php to make things easier for users.
4) Thanks for taking my suggestion and adding on the users online feature but wouldn't it be much better if a user could click on the # of guests/users online and view which page others are viewing and other useful information on the users/guests like their browser, host, ip, referrer and so on ? I know i would love to see something like this implemented in this already awesome script ! I can help you implement this if you want

Thanks again for all your hard work

Keep up the good work.