There is an error in query=> SELECT user_id,user_fname FROM th_users WHERE user_id IN (WP)
Unknown column 'WP' in 'where clause'