Foppe Hemminga 5 лет назад
Родитель
Сommit
98766e36d5
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      sqlite.php

+ 3 - 3
sqlite.php

@@ -60,9 +60,9 @@ $query = <<<QUERY
 		VALUES (?, ?)
 QUERY;
 $stmt = $pdo->prepare( $query );
-$stmt->execute( [204836, "https://discordapp.com/api/webhooks/706228042124623944/UGEYMQi-2iMUyg8jvGiFSc6CfcThv1dMSBgNhzziPL9aBoNxoNA03fPJZ1iwxQ-_xm7r"] );
-$stmt->execute( [1900827, "https://discordapp.com/api/webhooks/706229815166107669/vCNCc7uGe__JI9YHmoUUXozgOMc6FZclbX3SPLSQSy75B7m9AT8_36gExdRRZMYxTrwq"] );
-$stmt->execute( [1337627, "https://discordapp.com/api/webhooks/706230061275283478/DCUzGepweoYvufNr2KDXFt06j6cexdfVxhfbjrn1h7r77k9I0FlY0xuzyl3UInZgybGj"] );
+foreach ($discords as $discord ) {
+	$stmt->execute( $discord );
+}
 
 // properties.php contains queries for a subsequent
 // table properties containing default property names.