Skip to content

Commit

Permalink
remove debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
kuldp18 committed Apr 16, 2024
1 parent 29f8b21 commit ac11026
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion css/edit_video.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
}

.edit {
border: 1px solid red;
min-height: calc(100vh - 70px);
display: flex;
flex-direction: column;
Expand Down
4 changes: 1 addition & 3 deletions pages/edit_video.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
$video_details = fetch_video_by_id($pdo, $video_id);
$video_tag_list = get_video_tags($pdo);
$current_video_tags = get_video_tags_by_video_id($pdo, $video_id);
// print $current_video_tags;
print_r($current_video_tags);
// just make a list of tags from the current video tags
$current_video_tags = array_map(function ($tag) {
return $tag['tag_name'];
Expand All @@ -47,7 +45,7 @@
?>

<main class="edit">
<h1 class="heading heading--small">Edit Video</h1>
<h1 class="heading heading--small">Edit Your Video</h1>
<form class="edit__form" method="post" action="../includes/edit_video.inc.php" enctype="multipart/form-data">
<input type="text" name="title" class="edit__form__input" placeholder="Edit video title" value="<?php
if (isset($video_details['video_title'])) {
Expand Down

0 comments on commit ac11026

Please sign in to comment.