Warning: Use of undefined constant DB_CONNECT - assumed 'DB_CONNECT' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 14

Warning: Use of undefined constant DB_CLOSE - assumed 'DB_CLOSE' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 16

Warning: Use of undefined constant DB_QUERY - assumed 'DB_QUERY' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 20

Warning: Use of undefined constant DB_FETCHROW - assumed 'DB_FETCHROW' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 22

Warning: Use of undefined constant DB_FINISHQUERY - assumed 'DB_FINISHQUERY' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 24

Warning: Use of undefined constant DB_ONEROW - assumed 'DB_ONEROW' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 26

Warning: Use of undefined constant DB_NOERROR - assumed 'DB_NOERROR' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 30

Warning: Use of undefined constant DB_ERROR - assumed 'DB_ERROR' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 32

Warning: Use of undefined constant DB_LASTERROR - assumed 'DB_LASTERROR' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 34

Warning: Use of undefined constant DB_INSERTID - assumed 'DB_INSERTID' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 38

Warning: Use of undefined constant DB_AFFECTEDROWS - assumed 'DB_AFFECTEDROWS' (this will throw an Error in a future version of PHP) in /kursy/phpinc/db_mysql.php on line 40

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /kursy/phpinc/db_mysql.php:134 Stack trace: #0 /kursy/phpinc/db_start.php(16): db_query('sql.filolog.hom...', 1) #1 /kursy/index.php(7): include_once('/kursy/phpinc/d...') #2 {main} thrown in /kursy/phpinc/db_mysql.php on line 134