Nudaii
Well-known member
I am pretty new to writing php, and i know i have something wrong in this code, but can't work out exactly what it is.
any ideas?
PHP:
<?php
class RrwsTitlePlus_Install
{
protected static $table = array(
'installrrwstrop' => 'UPDATE xf_user SET custom_title => TestTitle'
);
public static function install()
{
$db = XenForo_Application::get('db');
$db->query(self::$table['installrrwstrop']);
}
}
any ideas?