Notice: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' in C:\phpStudy\PHPTutorial\WWW\nq\db\logic.php on line 57

Warning: mysqli_result::fetch_array() expects parameter 1 to be integer, string given in C:\phpStudy\PHPTutorial\WWW\nq\db\logic.php on line 57

Notice: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' in C:\phpStudy\PHPTutorial\WWW\nq\db\logic.php on line 69

Warning: mysqli_result::fetch_array() expects parameter 1 to be integer, string given in C:\phpStudy\PHPTutorial\WWW\nq\db\logic.php on line 69

Fatal error: Uncaught Error: Call to a member function fetch_array() on boolean in C:\phpStudy\PHPTutorial\WWW\nq\db\logic.php:26 Stack trace: #0 C:\phpStudy\PHPTutorial\WWW\nq\db\logic.php(81): logic->s_list(Array, 'id,title,input_...', 'content') #1 C:\phpStudy\PHPTutorial\WWW\nq\db\logic.php(308): logic->activity('s', 'select id from ...', 0, Array, 'id,title,input_...', 'content') #2 C:\phpStudy\PHPTutorial\WWW\nq\news_item.php(8): logic->select('content', Array, Array, NULL) #3 {main} thrown in C:\phpStudy\PHPTutorial\WWW\nq\db\logic.php on line 26