Skip to content
Snippets Groups Projects
Commit f6abad7d authored by Arya Pradipta's avatar Arya Pradipta
Browse files

change order

parent f4046082
No related merge requests found
Pipeline #5197 passed with stages
in 8 minutes and 43 seconds
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
require 'dbConnect.php'; require 'dbConnect.php';
$stmt = $conn->query("SELECT * FROM `materi`"); $stmt = $conn->query("SELECT * FROM `materi` ORDER BY `id` DESC");
$count = $stmt->num_rows; $count = $stmt->num_rows;
$res = array(); $res = array();
while ($row = $stmt->fetch_assoc()) { while ($row = $stmt->fetch_assoc()) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment