Renari
Member
I can't seem to find documentation anywhere on reading from the database.
Returns:
PHP:
$db = XenForo_Application::get('db');
$result = $db->query("SELECT `user_id` FROM `xf_admin`");
while ($result) {
$admin .= $result['user_id'];
}
Returns:
Fatal error: Cannot use object of type Zend_Db_Statement_Mysqli as array