$name = $text[1];
$group = $text[2];
$price = $text[3];
$cmd = strtr($user_msg, [
$text[0] => '',
$text[1] => '',
$text[2] => '',
$text[3] => '']);
$db->query("INSERT INTO products ('name', 'group', 'price', 'product_cmd') VALUES ('$name', '$group', $price, '$cmd')");