PHP if empty, or if isset, do this
<p>I have the following code:</p>

<pre><code>&lt;p&gt;&lt;? echo $langdata['oneprodpage_brand']; ?&gt;:&lt;/strong&gt; &lt;? echo $thisproduct['brandname']; ?&gt;&lt;/p&gt;
</code></pre>

<p>It brings out this:</p>

<blockquote>
  <p>Brand name: {brand name} </p>
</blockquote>

<p>if no brand is given it adds by default "Without brand" (all data is sotred in DB)</p>

<p>I want to do somthing like if php finds this value "without brand" then do smthing...</p>

<p>How can I make it?</p>

<p>I tried this</p>

<pre><code> &lt;? if ($thisproduct['brandname'] == Without brand) { ?&gt;
 &lt;? } else { ?&gt;
 &lt;p&gt;&lt;? echo $langdata['oneprodpage_brand']; ?&gt;:&lt;/strong&gt; &lt;? echo $thisproduct['brandname']; ?&gt;&lt;/p&gt;
 &lt;? }; ?&gt;
</code></pre>

<p>but it doesn't work</p>
