Notice: Object of class PDOStatement could not be converted to int in /home/artmagik/artmagik.nichost.ru/docs/main_pages/artmagik.php on line 4

Notice: Object of class PDOStatement could not be converted to int in /home/artmagik/artmagik.nichost.ru/docs/main_pages/artmagik.php on line 26

Fatal error: Uncaught Error: Call to undefined function mysql_free_result() in /home/artmagik/artmagik.nichost.ru/docs/main_pages/artmagik.php:26 Stack trace: #0 /home/artmagik/artmagik.nichost.ru/docs/index.php(10): include_once() #1 {main} thrown in /home/artmagik/artmagik.nichost.ru/docs/main_pages/artmagik.php on line 26