# If statement prob

**URL:** https://forum.kirupa.com/t/if-statement-prob/200682
**Category:** Uncategorized
**Created:** [September 14, 2006, 7:11am UTC](https://forum.kirupa.com/t/if-statement-prob/200682 "2006-09-14T07:11:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pucca](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pucca](https://forum.kirupa.com/u/pucca)
#### Post date: [September 14, 2006, 7:11am UTC](https://forum.kirupa.com/t/if-statement-prob/200682/1 "2006-09-14T07:11:49Z")

</div>

Can anybody tell me whats wrong here:

```php
     <?php if (isset($_GET["msg"])) { ?>
          <tr bgcolor="#E30A16"> 
            <td align="center" colspan="2"><?php include("admin/displayerror.php"); ?> </td>
          </tr>
          <?php } ?>

```

It’s a simple if statement. When it’s true, the tr will show… But for some reason, it throws away my whole table in Dreamweaver 8? It works if i test it locally? But i can’t see the table in dreamweaver?

Thanks!
