I am trying to make query using sprintf() and format symbols but it is not working
sprintf('SELECT pk_i_id FROM %st_item WHERE s_contact_email IN %s ORDER BY dt_pub_date LIMIT 0, %d', DB_TABLE_PREFIX, $email, $countOfItems
)
here
DB_TABLE_PREFIX = "ww_";
$email = "email01@hotmail.com, email03@hotmail.com, email02@hotmail.com";
$countOfItems = 5;