Modify Information

This is a dangerous place to step foot into... tread carefully.

Update information"; ?>
Information updated!

"; } elseif ($_GET["r"] == "fail") { // Upload failed echo "

Something fuckywucky

"; } elseif ($_GET["r"] == "noinfo") { // No info was present echo "

No description/alt, pls give

"; } ?>
prepare("UPDATE swag_table SET alt=? WHERE id=?"); $sql->bind_param("si", $alt, $id); $alt = $_POST['alt']; $id = $_POST['id']; if ($sql->execute()) { //header("Location:edit.php?r=success"); header("Location:https://superdupersecteteuploadtest.fluffybean.gay/image.php?id=".$_POST['id']."&update=success"); } else { header("Location:edit.php?r=fail"); } } } ?>