Dreamwaver visualization help [modified]
-
hi, i am writing php scripts that have the following format: /// logic in "plain" php ......... some calculations etc. // html output (html mixed with php) using the php variables defined in logic , as an example
<?php if($emsg) echo $emsg; else { ?> <table width="100%" > <tr class="sunBlockHead"> <td class="Stil1Head" align="center"><span><?php echo $th1;?></span></td> <td class="Stil1Head" align="center"><span><?php echo $th2;?></span></td> <td class="Stil1Head" align="center"><span><?php echo $th3;?></span></td> </tr> <?php foreach ($result as $item) if($item["eStatus"]=="ok") {?> <tr> <td class="Stil1" style="text-align:right;" width="10%" ><?php echo $map_currency[$item["sCurrency"]].$item["decUsableValue"];?></td> <td class="Stil1" width="30%"> <span style="float:left"><?php echo $map_type[$item["eTypeOfExpiry"]]?></span> <span style="float:right"><?php echo cleanDate($item["dDateOfExpiry"])?></span> </td> <td class="Stil1" style="text-align:left;"><?php echo !empty($item["sDisplayText"])?$item["sDisplayText"]:"Gutschein";?></td> </tr> <?php }?>
i am using dreamwaver, and i am asking if there is any visualization help that can hide the php code embedded in<?php ?>
or hide the html code, so i can concentrate on one of both when i need to change smthg. thanks -- modified at 5:10 Thursday 20th September, 2007