Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM (
SELECT blog.id, (@rownum := @rownum + 1) AS rank
' at line 2 in /web/htdocs/www.sosto.net/home/functions.php:14
Stack trace:
#0 /web/htdocs/www.sosto.net/home/functions.php(14): mysqli_query()
#1 /web/htdocs/www.sosto.net/home/blog.php(118): mysql_query_exec()
#2 {main}
thrown in /web/htdocs/www.sosto.net/home/functions.php on line 14