I want to check in my If-Statement if the status is 1(true) or 0(false). The value is stored in a mySQL DB with tinyint.
The following code returns an error:
if($zeile['STATUS']=='1')
  {
      echo "<td align='center'>true;</td>";
  }
  else{
      echo "<td align='center'>false;</td>"; 
  }
The error is:
Notice: Undefined index: STATUS in /home/u123210707/public_html/index.php on line 49'. line 49
is my If-statement
 
     
     
    