We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ca704e commit 7787965Copy full SHA for 7787965
timeline/graph.php
@@ -18,7 +18,7 @@
18
?>
19
<?php
20
// SQL query to select rows
21
-$sql = "SELECT * FROM vines";
+$sql = "SELECT * FROM vines ORDER BY id DESC";
22
$result = $conn->query($sql);
23
24
if ($result->num_rows > 0) {
timeline/user.php
@@ -52,7 +52,7 @@
52
53
// SQL query to select rows containing the searched word
54
$cid = $_GET['id'];
55
-$sql = "SELECT * FROM vines WHERE uploaderId = '$cid'";
+$sql = "SELECT * FROM vines WHERE uploaderId = '$cid' ORDER BY id DESC";
56
57
58
0 commit comments