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 ? 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. 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 Quote mail. how ? 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. 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
Archived
This topic is now archived and is closed to further replies.