[jQuery] Hide row if empty

[jQuery] Hide row if empty


Hi All,
If I had a list displaying data as follows:
<ul>
<li id="item"><div>Label Here</div><div id="database">{content
here if available from database}</div></li>
<li id="item"><div>Label Here</div><div id="database">{content
here if available from database}</div></li>
</ul>
Could I hide the whole <li id="item"></li> if their is nothing
available to show from the database in <div id="database"> ?
Thanks in advance for your help
Jack