Тема: Функція prepare() і execute()
//-----------------------------------------------------
$token = sha1(uniqid($email, true));
$query = $db->prepare("INSERT INTO panding_users_ras (email, token, tstamp) VALUES ('$email','$token',NOW()))");
$query->execute(array($email,$token,$_SERVER['REQUEST_TIME']));
Ошибка Warning: mysqli_stmt::execute() expects exactly 0 parameters, 1 given