Code 1:
<?php
/* Do some PHP stuff */
?>
<div id="main">
<p>
Why does this appear in red?
</p>
</div>
<?php
/* Some more PHP stuff
Still highlighted in red */
?>
Result: Lots of red text, and I don't know why.
Code 2:
<?php
/* Do some PHP stuff */
?>
<div id="main" >
<p>
Normal black colour
</p>
</div>
<?php
/* Some more PHP stuff
Normal blue comment highlight */
?>
Result: Adding a space on line 5 fixes the
highlighting, but that's not a normal way to code
HTML.
PiotrYua
None
None
Public
|
Date: 2006-05-31 21:51 Logged In: YES |
|
Date: 2005-09-24 12:52 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| assigned_to | nobody | 2005-09-24 12:50 | piotrjura |