Error end of the page when recordset is empty
I receiving an error at the bottom of the page as:
Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/content/39/10368039/html/shrishtiartgallery/other-style-artworks.php on line 460
page is live here:
http://www.shrishtiart.com/other-style-artworks.php
THis error seems to appear only when recordset is empty.
File attached.