Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given in /home/campanule/www/common.php on line 10

Warning: mysqli_errno() expects exactly 1 parameter, 0 given in /home/campanule/www/db_access.php on line 53

Fatal error: Uncaught Exception: . Query was: select * from articles where id = Error number: in /home/campanule/www/db_access.php:54 Stack trace: #0 /home/campanule/www/common.php(11): DB->sql('select * from a...') #1 /home/campanule/www/articles.html(11): get_article('6') #2 {main} thrown in /home/campanule/www/db_access.php on line 54