Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ExusV committed Oct 24, 2016
1 parent 0da3693 commit 47ff1c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/admin/submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@
if ($upload_check == 1) {
$file_name = IMAGE_DIR . "/" . basename( $_FILES["img"]["name"]);
$name = $_POST['name'];
$desc = $_POST['desc'];
$series = $_POST['series'];
$link = $_POST['link']

$insert_values = $conn->prepare("INSERT INTO `show` (title, description, series, thumb_url, file_link) VALUES (:name, :description, :series, :thumb, :link)");
$insert_values->bindParam(":name", $name);
Expand Down

0 comments on commit 47ff1c8

Please sign in to comment.