Warning: Undefined variable $user in /htdocs/login.php on line 62

Warning: Trying to access array offset on null in /htdocs/login.php on line 62

Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null in /htdocs/login.php:62 Stack trace: #0 /htdocs/login.php(62): PDOStatement->execute(Array) #1 {main} thrown in /htdocs/login.php on line 62