Skip to content

Commit

Permalink
wqd
Browse files Browse the repository at this point in the history
  • Loading branch information
SH20RAJ authored Jul 12, 2023
1 parent eca5ec7 commit 26ab0d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dashboard/videos.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
session_start();
include '../conn.php';


Expand Down Expand Up @@ -67,9 +68,9 @@
<tbody class="list">
<?php
// Retrieve the video list from the database
session_start();

$user = $_SESSION['id'];
$sql = "SELECT * FROM videos where user = ".$user."";
echo $sql = "SELECT * FROM videos where user = ".$user."";
$result = $conn->query($sql);

if ($result->num_rows > 0) {
Expand Down

0 comments on commit 26ab0d6

Please sign in to comment.