<?php
$connect = array('localhost', 'cd90484_lasthero', '112233', 'cd90484_lasthero');
$base = $db = new mysqli($connect['0'], $connect['1'], $connect['2'], $connect['3']);
$base -> query("SET NAMES 'UTF8'");
if($base -> connect_errno) die('ERROR -> '.$base -> connect_error);
$db->query("UPDATE `users` SET `alliance_gems` = '50', `alliance_silver` = '100000'");
//запуск каждый день в 00:00