Hello,
I have designed my forums and spent a lot of time in it, I am just wondering (because im running games) how I could go about adding in a feature that pulls out database info?
So far I've hopefully successfully added the database category under mybb_servers, id appreciate anyone that corrects it if its wrong but I just want to store on or off in 'status'. This will be used later in an IF statement.
however, what i want to do is pull whats stored in 'status' and put in on my forums. So if its a 'yes' it will display 'online' and no, 'offline'. The IF statement is easy, i just need some help on checking if my database is set-up right and the code to retrieve the content inside of it.
So far I've tried alot and researched but got this far:
which gives this error:
Thank you in advance!
P.s On line 116 is just a ending php statement like that: ?>
I have designed my forums and spent a lot of time in it, I am just wondering (because im running games) how I could go about adding in a feature that pulls out database info?
So far I've hopefully successfully added the database category under mybb_servers, id appreciate anyone that corrects it if its wrong but I just want to store on or off in 'status'. This will be used later in an IF statement.
however, what i want to do is pull whats stored in 'status' and put in on my forums. So if its a 'yes' it will display 'online' and no, 'offline'. The IF statement is easy, i just need some help on checking if my database is set-up right and the code to retrieve the content inside of it.
So far I've tried alot and researched but got this far:
which gives this error:
Thank you in advance!
P.s On line 116 is just a ending php statement like that: ?>