Just change the column in the ORDER BY:
SELECT * FROM articles ORDER BY time DESC
More Related Contents:
- How to find missing attendance from the database table
- How to change mysql to mysqli?
- php mysqli_connect: authentication method unknown to the client [caching_sha2_password]
- How do I use password hashing with PDO to make my code more secure? [closed]
- MySQLi prepared statements error reporting [duplicate]
- Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0
- How do I import a .sql file in mysql database using PHP?
- Laravel-5 ‘LIKE’ equivalent (Eloquent)
- PHP Fatal error: Class ‘PDO’ not found
- Connect to a MySQL server over SSH in PHP
- How to store NULL values in datetime fields in MySQL?
- PHP Warning: mysqli_connect(): (HY000/2002): Connection refused
- MYSQL Select from tables based on multiple rows
- Is “SET CHARACTER SET utf8” necessary?
- Sending HTML Code Through JSON
- PDO: MySQL server has gone away
- Turn off warnings and errors on PHP and MySQL
- How do you do multiple SQL statements in one mysql_query?
- Checking for an empty result (PHP, PDO, and MySQL) [duplicate]
- MySQL/SQL retrieve first 40 characters of a text field?
- How to use mysqli_query() in PHP?
- Get sum from nodes tree
- PHP/SQL Insert Error when using Named Placeholders
- mysqli prepared statement num_rows returns 0 while query returns greater than 0 [duplicate]
- array_push() vs. $array[] = …. Which is fastest? [duplicate]
- using the browser prompt to download a file
- How to get last inserted id from table MySQL [duplicate]
- Group mysql results by category and display them into groups under each category
- Save array in mysql database
- PHP & mySQL: When exactly to use htmlentities?