ShaKeD Posted June 25, 2006 Share Posted June 25, 2006 Hey, I was starting using php again and I don't remember how can I use this option of Variables:$x = "abc"; $x. = "def";echo $x; [u][b]display: [/b][/u]abcdefbut I don't get the display, I get an error; [b]Parse error: parse error, unexpected '=' in C:\apache2\htdocs\down.php on line 3[/b] Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted June 25, 2006 Share Posted June 25, 2006 Your space is in the wrong place:$x .= "def";The . and = should be "touching" Quote Link to comment Share on other sites More sharing options...
ShaKeD Posted June 25, 2006 Author Share Posted June 25, 2006 Thanks mate :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.