PDA

View Full Version : if statement prob



pucca
September 14th, 2006, 03:11 AM
Can anybody tell me whats wrong here:


<?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!

pucca
September 14th, 2006, 06:01 AM
geezz.. how STUPID of mee!!!! been struggling a whole day with that one, opened it now again, and saw the stupid { has been left out!!!:puzzle:

shows you how we can waste our time about nothing!