How to get info from database?
First let me explain, I have my main home page as a non-vbulletin, though I create those pages based vb templates with a guide posted here somewhere.
Now, I gave one of my members a Journalist job and he needs to be able to edit some news on that main page. I don't want to give him admincp access.
What I have done is made him a page to insert news in a form that inserts into the database.
Now, I would like to know how I can retrieve that data for it to show on the main page. I tried a database query, but get errors for a bad template. I tried to create a plugin (first time), but was unsuccessful.
Can someone guide me to how to do this?
Thanks,
T.
|