New to syntax

Can anyone tell me what I am doing wrong. It wont print the else value.


<?
if ($test == $u) { echo "<table>this</table>"; } elseif ($test != $u) { echo "<table>that</table>"; }
?>