This is usually an issue with a bad connection. It looks like your query is based on a connection dBtests, but that connection isn't on the page. It seems like it should be using the paseenix connection like the recordset above it.
When you attach files, please leave them in .php format so I can open them in Dreamweaver.