| 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)); ?>
|