Warning: Undefined variable $mem in /users/2022/i2251016/public_html/WebDB/03/AddMember.php on line 20

Warning: foreach() argument must be of type array|object, null given in /users/2022/i2251016/public_html/WebDB/03/memberDAO.php on line 14

Fatal error: Uncaught mysqli_sql_exception: Field 'mem_id' doesn't have a default value in /users/2022/i2251016/public_html/WebDB/03/memberDAO.php:23 Stack trace: #0 /users/2022/i2251016/public_html/WebDB/03/memberDAO.php(23): mysqli->query() #1 /users/2022/i2251016/public_html/WebDB/03/AddMember.php(20): memberDAO->insertMember() #2 {main} thrown in /users/2022/i2251016/public_html/WebDB/03/memberDAO.php on line 23