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 FROM (SELECT @rownum :=0) r' at line 1 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(117): mysql_query_exec()
#2 {main}
thrown in /web/htdocs/www.sosto.net/home/functions.php on line 14