Applying source formatting inserts bugs in php code.
Any way to stop Dreamweaver from formatting PHP code or train it to do it correctly?
When I format my php code it adds spaces in places there should be none, thereby introducing bugs into my code.
For example, line one is how the code should look, line 2 is how it looks after source formatting. Line 2 now inserts spaces before and after so it no longer works.
1 echo "${'Neighborhood'.$x}"
2 echo " ${ 'Neighborhood'.$x} "
Any solutions for this? It makes source formatting extremely dangerous as it introduces a lot of bugs into code.
