The community is working on translating this tutorial into Sinhala, but it seems that no one has started the translation process for this article yet. If you can help us, then please click "More info".
If you are fluent in Sinhala, then please help us - just point to any untranslated element (highlighted with a yellow left border - remember that images should have their titles translated as well!) inside the article and click the translation button to get started. Or have a look at the current translation status for the Sinhala language.
If you see a translation that you think looks wrong, then please consult the original article to make sure and then use the vote button to let us know about it.
Please help us by translating the following metadata for the article/chapter, if they are not already translated.
If you are not satisfied with the translation of a specific metadata item, you may vote it down - when it reaches a certain negative threshold, it will be removed. Please only submit an altered translation of a metadata item if you have good reasons to do so!
When you start working with a new language, like PHP, chances are that you will make lots of syntax errors. A syntax error is a missed semicolon, an unclosed parenthesis and so on. To detect these errors, you will usually have to call up your page in a browser, so that PHP can tell you if there's anything wrong with it. However, TSW WebCoder can be configured to detect these syntax errors for you, and alert you in a subtle manner, making it possible for you to fix the most obvious errors before testing your code.
In a previous chapter, we installed PHP on your computer. You will need the path where you installed it, since WebCoder needs access to the php.exe file to test the syntax of your code. In WebCoder, go to Functions and select Settings. Now, click on the Misc button in top and select the Paths tab. In the "PHP Executable path" you should enter the path, or simply click the button to the right, to locate the php.exe file on your computer. Once it's done, just click the Ok button.
Unless it has been turned off (Functions -> Settings -> IntelliSense -> PHP), WebCoder will now automatically check the syntax of your code in real time, and highlight lines with errors in them. If you wish to manually check the syntax of your document, select Functions -> Check PHP syntax.