This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > January 2005 > opening php script





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author opening php script
cody_44

2005-01-31, 7:23 pm

Having done some PHP code into my page I have been given code to add, which I
have done. The page worked fine but now I need to edit the code, the problem
being is that the code I have added appears as a small icon with PHP on it. It
does not show the outline of the code and I can only edit in 'code view'. Has
anyone got any idea how to set the code properly or what the 'icon' means. The
code is attached below.


<?php $horizcount=0; do {
$areaname = $row_area['area'];
if (!$areaname) { $areaname = "No Area"; }
$count = $row_area['count'];
echo "<td><input type=\"checkbox\" value=\"$areaname\" name=\"location[]\">
$areaname ($count)</td>";
$horizcount +=1;
if ($horizcount == 4) { echo "</tr><tr>"; $horizcount=0; }
} while ($row_area = mysql_fetch_assoc($area)); ?>

Gary White

2005-01-31, 11:16 pm

cody_44 wrote:

>The page worked fine but now I need to edit the code, the problem
>being is that the code I have added appears as a small icon with PHP on it. It
>does not show the outline of the code and I can only edit in 'code view'. Has
>anyone got any idea how to set the code properly or what the 'icon' means.



Click on the icon in the design window and you can edit the code in the
property inspector.


Gary
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews