Database error: Invalid SQL: INSERT INTO login SET login_id = '520bcee16831077d72baf9747ed95bdb', login_logged = 'N', login_affiliate_id = '', login_date = '2016-07-27'
MySQL Error: 1366 (Incorrect integer value: '' for column 'login_affiliate_id' at row 1)