Skip to content

Commit

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


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

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

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

0 comments on commit 3a5f41b

Please sign in to comment.