Ok, so a few views but no responses as of yet. Hope I'm asking this in the right forum, I believe I am.
Right what I have learnt so far is that there are query's I can run, that allow me to turn off and on vb........
Quote:
Turn Off:
UPDATE datastore SET data=REPLACE(data,'"bbactive";s:1:"1"','"bbactive" ;s:1:"0"') WHERE title='options'
UPDATE setting SET value=0 WHERE varname='bbactive'
|
Quote:
Turn On:
UPDATE datastore SET data=REPLACE(data,'"bbactive";s:1:"0"','"bbactive" ;s:1:"1"') WHERE title='options'
UPDATE setting SET value=1 WHERE varname='bbactive'
|
So now I understand these can be put into 2 php files, boardoff.php and boardon.php. These can then be run from the cron folder via scheduled tasks. What I need is the php code that I need to put into each file for each function. I assume its just a bit of php telling it to run the following query. But I know sod all about php coding, well very little! Can anybody help?
Thanks in advance,
Boss