ДоХтор, ну тогда я потом гляну
ДоХтор, ну тогда я потом гляну
!$systemUser->id ?: include 'bonus.inc.php';Thanks, Gabriel ! ![]()
# ДоХтор (02.06.2017 / 22:58)u'r welcome, this your code
Thanks, Gabriel !
# Gabriel (02.06.2017 / 23:02)Does he work for John 7 ? )
u'r welcome, this your code
# ДоХтор (02.06.2017 / 23:05)on my site its work,, 7.1.0 ,,
Does he work for John 7 ? )
# Gabriel (02.06.2017 / 23:08)The reason for the inoperability was in these two lines?
on my site its work,, 7.1.0 ,,
$sql = "SELECT balans_day, balans_time FROM users WHERE id = ". $systemUser->id;
$sql = "UPDATE users SET balans = balans + $balls, balans_day = $today WHERE id = ". $systemUser->id; show balans on statistic user
# ДоХтор (02.06.2017 / 23:11)ya and on the
The reason for the inoperability was in these two lines?
$sql = "SELECT balans_day, balans_time FROM users WHERE id = ". $systemUser->id;
$sql = "UPDATE users SET balans = balans + $balls, balans_
function restar($time, $user_id) only replace to $id..