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] Link to comment https://forums.phpfreaks.com/topic/12867-using-variables/ 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" Link to comment https://forums.phpfreaks.com/topic/12867-using-variables/#findComment-49374 Share on other sites More sharing options...
ShaKeD Posted June 25, 2006 Author Share Posted June 25, 2006 Thanks mate :) Link to comment https://forums.phpfreaks.com/topic/12867-using-variables/#findComment-49375 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.