zero477 Posted January 10, 2012 Share Posted January 10, 2012 Hello everyone, I am trying to do a loop to send emails with phpMailer. I get this error message: Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in Someone knows how to fix it??? Greetings, Eddie Link to comment https://forums.phpfreaks.com/topic/254688-error-when-looping-with-phpmailer/ Share on other sites More sharing options...
Pikachu2000 Posted January 10, 2012 Share Posted January 10, 2012 mysql_query() returns a boolean FALSE when a query fails. Your query is failing. mysql_error should help you determine why. Link to comment https://forums.phpfreaks.com/topic/254688-error-when-looping-with-phpmailer/#findComment-1305974 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.