You are here: Forum Home / RapidWeaver User Forum / RapidWeaver Chat / Thread
when I combine html and php, the code ist not coloured correctly (the colors switch to black), thought the code is working.
So maybe there is an error in the code-editor of rapidweaver 4.
Example:
<form name=”<?php echo $PHP_self; ?>” method=“post” action=”“>
from METHOD the letters are coloured black….
Does somebody know help?
Thanky you!
when I combine html and php, the code ist not coloured correctly (the colors switch to black).....So maybe there is an error in the code-editor of rapidweaver 4.
I don’t know. I never thought much about the coloring.
Compared it to Smultron and Taco HTML and all three handle the coloring differently.

Phil
Check out the Stacks for the Stacks Plugin.
Table Stacks, SideBoxes, Flash Stacks, Stacks Stacks, Image Stacks…......
when I combine html and php, the code ist not coloured correctly (the colors switch to black).....So maybe there is an error in the code-editor of rapidweaver 4.
I don’t know. I never thought much about the coloring.
Compared it to Smultron and Taco HTML and all three handle the coloring differently.
Phil
Hello Phil, thank you for your quick answer. Problem is, that i am sure, that this is a programm error in rapidweaver in the code-parsing part, because all of the following code to this line of code i mentioned is highlithed wrong (e.g. black). So I think rapidweaver has problems to parse code an show the right color when this code contains parts of html, like brackets <>, eg.
, and so on.
If all where black, I would not complain about it, but so the code becomes really confusing. Please try this:
<?php
$error=$_GET[‘error’];
echo (”“.$error.”“);
//look: from here the code color changes in an unknown way…
$selfname=$PHP_SELF;
echo “<form name=”.$selfname.” method=‘post’ action=”.$selfname.“_check.php>”;
echo “<label for=‘myemail’>eMail-Adresse:</label> <input name=‘myemail’ type=‘text’ id=‘myemail’ />”;
echo “<label for=‘mypassword’>Passwort:</label> <input name=‘mypassword’ type=‘password’ id=‘mypassword’ />”;
echo “<input type=‘submit’ name=‘submit’ value=‘Anmelden’ />”;
echo “</form>”;
?>
Even the <?php in the beginning and the ?> have different color, so I think rapidweaver handles it different and is making mistakes with the parsing: If raidweaver would “realize” that the last line of code ?> is php, it would colour it e.g. red and not black, wouldn´t it?
By the way: IS ITI POSSIBLE TO SET UP A DIFFERENT CODE EDITOR, e.g. like TACO, TO EDIT HTML AND PHI IN RAPIDWEAVER? Would be great. How can i do that?
Thank you much!!!
Even the <?php in the beginning and the ?> have different color, so I think rapidweaver handles it different and is making mistakes with the parsing: If raidweaver would “realize” that the last line of code ?> is php, it would colour it e.g. red and not black, wouldn´t it?
You are correct, there are mistakes and they make editing more difficult.
By the way: IS ITI POSSIBLE TO SET UP A DIFFERENT CODE EDITOR, e.g. like TACO, TO EDIT HTML AND PHI IN RAPIDWEAVER? Would be great. How can i do that?
No, I don’t believe there’s any way to do that.
You can put in a feature request with RealMac but I doubt this will rank very high on their priority list.
Very Best,
Phil
Check out the Stacks for the Stacks Plugin.
Table Stacks, SideBoxes, Flash Stacks, Stacks Stacks, Image Stacks…......