Bläddra i källkod

added warning caption about deletions their precedence over edits

pull/16/head
mauirixxx 7 år sedan
förälder
incheckning
64f201c604
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. +2
    -1
      includes/titleranks-editor.php

+ 2
- 1
includes/titleranks-editor.php Visa fil

@@ -7,7 +7,8 @@ mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
# delete the above when shit finally works

if (isset($_POST['editstitle'])) {
echo '<form action="titlemanager.php" method="post"><table border="1"><tr><th>stnameid</th><th>titlenameid</th><th>stname</th><th>stpoints</th><th>strank</th><th>Delete?</th></tr>';
echo '<form action="titlemanager.php" method="post"><table border="1"><caption>Deleting takes precedence over edits - edits will have to be remade after submission</caption>';
echo '<tr><th>stnameid</th><th>titlenameid</th><th>stname</th><th>stpoints</th><th>strank</th><th>Delete?</th></tr>';
$ph = implode(",", $_POST['editstitle']);
$sredit = $con->prepare("SELECT * FROM gwsubtitles WHERE titlenameid = ? AND stnameid IN ($ph)");
$sredit->bind_param("i", $_SESSION['tid']);


Laddar…
Avbryt
Spara