Hello everyone!
As I'm complete new in PHP programming, I have one question, about error messages I'm receiving constantly.
This is the code I copied from manual (on this site):1
2 <?php
3 / Assigning a string. /
4 $str = "This is a string";
5
6 / Appending to it. /
7 $str = $str . " with some more text";
After I save it as drugi.php (with notepad.exe), I receive this error message:
Parse error: parse error, unexpected T_LNUMBER in C:\Apache\Apache2\htdocs\drugi.php on line 4
What is the cause of this?
I noted that whenever try to dimension arrays with sign $ this error message appeares.
?
Thx