CREATE DATABASE IF NOT EXISTS android
CREATE USER 'user'@'localhost' IDENTIFIED BY 'P@ssW0rd';
GRANT ALL ON *.* TO 'user'@'localhost';
FLUSH PRIVILEGES;
CREATE DATABASE IF NOT EXISTS android
CREATE USER 'user'@'localhost' IDENTIFIED BY 'P@ssW0rd';
GRANT ALL ON *.* TO 'user'@'localhost';
FLUSH PRIVILEGES;
Default sorting is ascending, you need to add the keyword DESC to both your orders:
ORDER BY article_rating DESC, article_time DESC
https://stackoverflow.com/questions/514943/order-a-mysql-table-by-two-columns
$query = " select * from users where price like '%$_GET[par]%' or info like '%$_GET[par]%' or keyword like '%$_GET[par]%' order by price, id desc";