Thanks Dewed that worked.
Incidentally for anyone copying and pasting the altered version check your white spacing first before uploading. That is the cursor should return back to:
at the beginning of the script.
and back to:
at the end of the script.
This can occasionally cause problems on some servers.
I use about 8 different servers for different websites I am running, so I will look into a more suitable Server when I wish to use the reporting function. I have migrated this installation across different servers with no problem in the past.
Thanks again Dewed, I can now get on and use this wonderful application.
Still have to sort my import Bookmarks problem, posted at:
http://www.dew-code.com/component/option,com_fireboard/Itemid,26/func,view/catid,2/id,1129/#1129
But that was on a different server so I will try it again.