At 10:55 -0800 on 12/17/2010, eeerlend wrote about Color markup php+html:
When I'm coding php mixed with html, like this;
<div class="span-14" id="content-standard<?=$style_variant?>">
the starting and closing php thing (<?/<?php and ?>) isn't displayed
with color red, as it normally does. This is annoying, because it is
in situations like this the syntax coloring is useful to quick find
errors in the code. Seems like the php code inside is not colored as
php either... This seem to happen each time the php code is inside an
attribute of the html.
Same result with
<div class="span-14" id="content-standard<?php echo $style_variant; ?
>">
Try coding the html correctly. You have not closed the ID tag so it
sees the php as part of the tag. If you code
id="content-standard" <?=$style_variant?> >
You might get better results. I assume that $style_variant is a style= parm.
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>