I have just recently started using notepad++ and its such an excellent tool, don't know how I have done without it.
I mainly use it for coding in php, but what I find from time to time is when I change some of the code slightly the colour coded variables, and mysql queries doesn't work any more. Its as if I have left out a quotation or semi colon.
If I load the code into dreamweaver or similar the code structure is fine. Sometimes if I change the writing language to something else and then back to php, it fixes the issue.
Can someone please help me.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just recently started using notepad++ and its such an excellent tool, don't know how I have done without it.
I mainly use it for coding in php, but what I find from time to time is when I change some of the code slightly the colour coded variables, and mysql queries doesn't work any more. Its as if I have left out a quotation or semi colon.
If I load the code into dreamweaver or similar the code structure is fine. Sometimes if I change the writing language to something else and then back to php, it fixes the issue.
Can someone please help me.
Thanks
At the moment I have open a file and all the code is grand and all the colours are correct.
<?php in red
if echo while in blue etc
This code snippet currently has the ech in blue and the o in grey
echo"
</td>
<td align=\"left\" valign=\"top\" width=\"40%\">$data[cup_name]
</td>
</tr>";
I know this is a pretty simple example but then you start to look at the rest of the code and see if there is any mistakes.
There are times when I modify a mysql query and then all the code from then on is the default grey.
Can you give an example?