title: empty() not working when mysql is fetching array
body: <p>Not sure why this isnt working. I'm assuming it's because i am fetching an array but not sure why that would stop it. </p>
  
  <p>Heres the code anyhow;</p>
  
  <pre><code>&lt;?php  
  
  include ("../database.php");
  $result = mysql_query("SELECT * FROM gigs WHERE artisturl='$artistname'");
  
  while($row = mysql_fetch_array($result)){
  
  if (empty($row['gigname'])){echo  '&lt;p2&gt;'.$row['artistname']. 'has not posted any gigs     yet. Check back later.&lt;/p2&gt;';}
  else {
  echo     $row['gigname'].$row['venue'].$row['lineup'].$row['date'].$row['time'].$row['price'].$row['    purchase'].'&lt;br&gt;&lt;br&gt;';}}?&gt;
  </code></pre>