i m very sorry there is a mistake it is nt from the database........
Not to worry
We need to understand the question before we can make many suggestions
If you look into getting what you from SMF, you will need to learn about the info recorded in SMF (which is much more than we can undertake in a forum).
As Expat mentions, what you are looking for most likely already exists.