not a valid MySQL-Link resource

Hi all,

Here is my code - it sends out emails:

My problem: When it runs it works (emails are sent, records are updated etc…) - but these errors are shown:

Welcome to the dyn message processing page - please contact agust[at]agust.org for questions or comments
Starting processing at Mon, 04 Feb 2013 22:28:04 +0000

Starting message [test Ágúst]

Warning: mysql_close(): 65 is not a valid MySQL-Link resource in …/dyngroup.php on line 83
Message [test Ágúst] has been sent to all receivers Mon, 04 Feb 2013 22:28:04 +0000

Warning: mysql_close(): 13 is not a valid MySQL-Link resource in …/dyngroup.php on line 32
No more unsent messages found - hit the back button on your browser to return to previous pages - goodbye!

I suspect this has to do with opening more then one connection to the database at the same time, but I don’t know how to solve this. Any hints?

It means the link was already closed. Either called directly or perhaps timed out

Sponsor our Newsletter | Privacy Policy | Terms of Service