Small Question
I have a small question.
Basically what I am trying to do is get information from the database to display onto my board.
I want to know how I can make a field from the user table in my database to display onto the postbit under the post count.
For example we have
Posts: 21
I want it to look like:
Posts: 21
Turns: 15
I just need to know how to query the database to get the "15" and display it there.
I also need to put this in the member profile.
I already modified the postbit and memberinfo templates to say Turns: but need to know how you can get the variable in there.
Just random info to help you understand.
$post is a variable in both templates and I would like to make a variable $turns but I dont know which file I could use to make that.
Thanks again.
|