Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

I'd be looking at upgrading your connection to mysql - get a reliable library. Your mysql_query should have an "or die" catcher on the end. The error is a basic connectivity error which makes me wonder if the first query is killing the connection somehow.

Hi - I have started a new database on a newer version of MySQL (5.5 - this is the most up to date offered by my host) and this has solved the SQL query in my other thread.

It has also stopped the error happening above, but the record only adds once still. In other words, if Number Received = 1 or if it = 25 it still only adds the record once. If 25 is selected it is supposed to add the record 25 times.... but it adds it once with no errors.