Confirm Page with Warning: mysql_select_db() expects parameter 2 to be resource, null
Received the following error message in confirm page:
Warning: mysql_select_db() expects parameter 2 to be resource, null given in /customers/d/6/8/sapphire-wardrobes.com/httpd.www/confirm.php on line 37 Warning: mysql_query() expects parameter 2 to be resource, null given in /customers/d/6/8/sapphire-wardrobes.com/httpd.www/confirm.php on line 71
I have checked every thing possible and even compared the page with similar pages on other sites but could not identify where the problem is located. This page was previously working well and just about to tidy up and deliver it, this error starts coming up.
Please find attached the codes.