Zaktualizuj 'index.php'
This commit is contained in:
parent
10f12bc69a
commit
2ed833e4eb
@ -41,7 +41,7 @@ include "settings/db_connect.php";?>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<?php $trash = '';
|
||||
if ($sql = $mysqli->prepare("SELECT * FROM post ORDER BY data_dodania"))
|
||||
if ($sql = $mysqli->prepare("SELECT * FROM post ORDER BY data_dodania DESC"))
|
||||
{
|
||||
$sql->execute();
|
||||
$sql->bind_result($post_id,$trash,$title,$description,$main,$image,$date,$mod_date);
|
||||
|
Loading…
Reference in New Issue
Block a user