Unable to prepare MySQL statement (check your syntax) - Unknown column 'advert_id' in 'where clause'