Database error: Invalid SQL: SELECT blogs.*, DATE_FORMAT(blogs.time,'%H:%i %d.%m.%Y') AS date, auth_user.id as uid, auth_user.name FROM blogs, auth_user WHERE auth_user.id = blogs.userid and blogs.userid = order by blogs.time desc, blogs.id
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by blogs.time desc, blogs.id' at line 1)

Session halted.