Simon: IF-Schleife funkt nicht!

Beitrag lesen

Moins Mädels,

also irgendwie raßte ich hier noch aus!

<?php if($eintrag == 0) {
          unset($row_thema);
            while ($row_thema = mysql_fetch_array($result_thema)) {
             echo "<input type='radio' name='thema' value='$row_thema[ID]'>$row_thema[Thema]";
          }
         }
       else {
          echo "Nichts";
       }
    ?>

Warum geht das nicht?
Fehler ist immer das das else funktioniert und das if($eintrag == 0) nicht funktioniert! :(