mauirixxx 7 лет назад
Родитель
Сommit
7019e2b5c2
1 измененных файлов: 0 добавлений и 3 удалений
  1. +0
    -3
      includes/titleranks-submit.php

+ 0
- 3
includes/titleranks-submit.php Просмотреть файл

@@ -1,7 +1,4 @@
<?php <?php
# investigate if we can put multiple input boxes and loop through them to insert into the database (see includes/titleranks-add.php)
# https://stackoverflow.com/questions/34469482/how-to-insert-multiple-inputs-into-the-database-using-the-power-of-php

$stmtstins = $con->prepare("INSERT INTO gwsubtitles (titlenameid, stname, stpoints, strank) VALUES (?, ?, ?, ?)"); $stmtstins = $con->prepare("INSERT INTO gwsubtitles (titlenameid, stname, stpoints, strank) VALUES (?, ?, ?, ?)");
$stmtstins->bind_param("isii", $_POST['titlenameid'], $_POST['titlerankname'], $_POST['titlepoints'], $_POST['titlerank']); $stmtstins->bind_param("isii", $_POST['titlenameid'], $_POST['titlerankname'], $_POST['titlepoints'], $_POST['titlerank']);
$stmtstins->execute(); $stmtstins->execute();


Загрузка…
Отмена
Сохранить