anyone else have Dw CS3 on the mac and using it for PHP? Ever see it drop the Code Color feature? When I type up these lines it’s fine, but if I save or upload the text turns red or black. Maybe my PHP is not so good? The code works fine and if I select and retype a letter or copy/paste the code, Dw’s Code Coloring jumps back on. Is this a Dw bug or bad beginner code?
<select name="category" id="category">
<option value="" <?php if (empty($_POST['category'])) { ?> selected="selected" <?php }?>
>Choose one</option>
<option value="starters"
<?php if ($_POST['category'] == 'starters') { ?> selected="selected"<?php } ?>
<?php if ($row['category'] == 'starters') { ?> selected="selected"<?php } ?>
>Starters</option>
<option value="salads"
<?php if ($_POST['category'] == 'salads') { ?> selected="selected" <?php } ?>
<?php if ($row['category'] == 'salads') { ?> selected="selected" <?php } ?>
>Salads</option>
// ...
</select>