Savager Posted December 10, 2008 Share Posted December 10, 2008 I use this alot on many mods and think it would be usefull for others building mods. //first open up a string $string="Hello"; //Add to string $string.=" World"; //Inputs Hello World Pretty cool eh? heres another example that might be useful //Open Up a string $string=""; //Add to it $string.="Savager"; //Add more to it $string.=" Is"; //And more again, and again. etc... $string.=" The Bomb"; //Finally Outputs Savager Is The Bomb Think of the dot as a + sign Quote Link to comment Share on other sites More sharing options...
Floydian Posted December 10, 2008 Share Posted December 10, 2008 Re: PHP string on string I might be helpful to know what that's called... Quote Link to comment Share on other sites More sharing options...
parelem Posted December 10, 2008 Share Posted December 10, 2008 Re: PHP string on string basic concatenation, nothing really special there... 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.