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 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.