2015-09-13, 10:01 PM
Hello, I currently have a table named mybb_servers with a category of status inside it which just holds off.
I want to write a script that when its run, changes whats held to ono.
So far I have:
I have not tested this yet in case it messes anything up, could someone please just let me know if this is the correct method on doing it?
Thanks in advance.
I want to write a script that when its run, changes whats held to ono.
So far I have:
// Require the Global file
define('IN_MYBB', 1);
require_once "./global.php";
// Write to DB
$db->write_query("INSERT INTO ".TABLE_PREFIX."servers (status) VALUES
(ono);
I have not tested this yet in case it messes anything up, could someone please just let me know if this is the correct method on doing it?
Thanks in advance.