# New to syntax

**URL:** <https://forum.kirupa.com/t/new-to-syntax/240520>\
**Category:** Uncategorized\
**Created:** [October 3, 2007, 5:11pm UTC](https://forum.kirupa.com/t/new-to-syntax/240520 "2007-10-03T17:11:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![petermdenton](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@petermdenton](https://forum.kirupa.com/u/petermdenton)\
**Post date:** [October 3, 2007, 5:11pm UTC](https://forum.kirupa.com/t/new-to-syntax/240520/1 "2007-10-03T17:11:54Z")

</div>

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

```auto

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

```
