Thanks so much, exactly what i needed.
EDIT: I'm having problems, i tried this code:
PHP Code:
<?php
require_once('./global.php');
require_once(DIR . '/includes/functions_bigthree.php');
require_once(DIR . '/includes/functions_forumlist.php');
// sql coins test
$db->query_read_slave("update user set coins=5 where userid=1");
$coins = $db->query_read_slave("select coins from user where userid=1");
echo $coins;
?>
And i added the column coins successfully to table users.
Whenever i try the page it returns "Resource id #16".