Using the coda editor, anything I type inside of the <?php ?> tags is green, so I think it's being read as a comment.
What's weird is that the "Colors" option under "Preferences" is showing that the syntax highlighting should be working fine. All elements are in their default color settings.
What's even more weird is that when I open a .php file that was created somewhere else, the syntax highlighting works fine. It's when I create a new file in editor and try to type some php code that it all comes out green.
Here is an example of some php code (HTML code syntax highlighting is fine) that is coming out green . . .
<html>
<head>
</head>
<body>
<div id="content">
Hello <?php echo "World"; ?>
</div>
</body>
</html>
Any suggestions?
What's weird is that the "Colors" option under "Preferences" is showing that the syntax highlighting should be working fine. All elements are in their default color settings.
What's even more weird is that when I open a .php file that was created somewhere else, the syntax highlighting works fine. It's when I create a new file in editor and try to type some php code that it all comes out green.
Here is an example of some php code (HTML code syntax highlighting is fine) that is coming out green . . .
<html>
<head>
</head>
<body>
<div id="content">
Hello <?php echo "World"; ?>
</div>
</body>
</html>
Any suggestions?