In slots_ajax.php,,it has
Code:
$getuserinfo = $db->query_read("
SELECT $cashtype
FROM ". TABLE_PREFIX . "user
WHERE userid = $userid
");
$userinfo = $db->fetch_array($getuserinfo);
$vcash = $userinfo[$cashtype];
In the texasholdem_ajax.php has,,,
Code:
$getuserinfo = $db->query_read("
SELECT $cashtype
FROM ". TABLE_PREFIX . "user as abc
WHERE userid = $userid
");
$userinfo = $db->fetch_array($getuserinfo);
$cash = floor($userinfo[$cashtype]);
Could my errors be from the $cash ???