LASTROWID is always set to 0 when program begins. Coded it to have value of total number of rows in 'attempts' table in var_log_secure.db