thanks
really grateful for the help and i'm now a lot further on that I was early on!!! cheers!
My output I now have it just about as I wanted it:
loc/secure/viewlogs.php .
: 6
loc/secure/editgb.php .
: 1
loc/secure/editsb.php .
: 1
loc/secure/contactdata.php .
: 1
loc/secure/archiveworklog.php .
: 1
loc/projects/viewlogs.php .
: 1
loc/projects/index.php .: 1
Another question if I may. It is automatically putting a line break in after the entry, before the number. Do you know why this is happening?
My initial feeling is that it's a problem with the data being put into the array (and the item in the array contains a line break) but I could be wrong.
I've tried to str_replace any linebreaks, but no to avail!
Also odd the last line should work fine!
Any ideas? and thanks again for the help you guys have given me.
EDIT: After trimming the array item the line break disappeared!