aafrancis Posted August 26, 2010 Share Posted August 26, 2010 Hello all! I have this query and works fine ! $sql1 = @mysql_query("DELETE FROM wp_posts WHERE `post_title` like '%FAVORITA%' OR `post_title` like '%redes%' OR `post_title` like '%fortaleza%' OR `post_title` like '%abc%' OR `post_title` like 'BRAND%'"); printf("Records deleted: %d\n", mysql_affected_rows()); i'd like to send the result of this query by email ...it's possible to send mysql_affected_rows( ) results for my email ? how ? Quote Link to comment https://forums.phpfreaks.com/topic/211777-mysql_affected_rows-by-email/ Share on other sites More sharing options...
trq Posted August 26, 2010 Share Posted August 26, 2010 mail. Quote Link to comment https://forums.phpfreaks.com/topic/211777-mysql_affected_rows-by-email/#findComment-1103973 Share on other sites More sharing options...
aafrancis Posted August 26, 2010 Author Share Posted August 26, 2010 mail. how ? Quote Link to comment https://forums.phpfreaks.com/topic/211777-mysql_affected_rows-by-email/#findComment-1103975 Share on other sites More sharing options...
trq Posted August 26, 2010 Share Posted August 26, 2010 Look at the examples in the link I provided. Quote Link to comment https://forums.phpfreaks.com/topic/211777-mysql_affected_rows-by-email/#findComment-1103982 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.