I am having problem with passing value through a pull down menu and then using that value in a PHP while to execute a query using mysql. So it would be great if you take a look of my code and give me some suggestion. Thank you.

<?php } else print "There is no data available in the database"; mysql_close($link); ?>

I am getting following worning Warning: Supplied argument is not a valid MySQL result resource in /home/public_html/ShowDomainDescription1.php on line 12 There is no Domain called , Please check the Domain list again.