Display message in table if cell content is empty
<p>I am trying to echo values from mysql database into a table but some values may be empty and I don't want the cell to output empty. Is there a way for me to show a message e.g "N/A" if a particular value is empty in the database?</p>

<pre><code>&lt;table&gt;&lt;tr&gt;&lt;td&gt;Friends Name:&lt;/td&gt;&lt;td&gt;&lt;b&gt;".$row['first_name']."&amp;nbsp; ".$row['last_name']."&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
</code></pre>