dual_alliance Posted July 17, 2006 Share Posted July 17, 2006 What does ".=" actually mean? The tutorial books l used to learn PHP never used it (guess they must be pretty crummy)Thanks,dual_alliance Quote Link to comment https://forums.phpfreaks.com/topic/14867-what-does-mean/ Share on other sites More sharing options...
wildteen88 Posted July 17, 2006 Share Posted July 17, 2006 It is the [url=http://php.net/manual/en/language.operators.string.php]assignment operator[/url].For example say you have this variable:$var = "something";now you want to add something onto that variable you can do this:$var .= " has been added";$var will now hold "something has been added"; Quote Link to comment https://forums.phpfreaks.com/topic/14867-what-does-mean/#findComment-59539 Share on other sites More sharing options...
dual_alliance Posted July 17, 2006 Author Share Posted July 17, 2006 cheers Quote Link to comment https://forums.phpfreaks.com/topic/14867-what-does-mean/#findComment-59541 Share on other sites More sharing options...
redarrow Posted July 17, 2006 Share Posted July 17, 2006 i thort it ment caternation asighnment Quote Link to comment https://forums.phpfreaks.com/topic/14867-what-does-mean/#findComment-59544 Share on other sites More sharing options...
wildteen88 Posted July 17, 2006 Share Posted July 17, 2006 Oh crap! I Missed that out. yeah its actuall name is [b]concatenating assignment operator[/b], the assignment operater is the equal sign. Quote Link to comment https://forums.phpfreaks.com/topic/14867-what-does-mean/#findComment-59549 Share on other sites More sharing options...
dual_alliance Posted July 17, 2006 Author Share Posted July 17, 2006 lol ok, thanks Quote Link to comment https://forums.phpfreaks.com/topic/14867-what-does-mean/#findComment-59552 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.