Savager Posted December 10, 2008 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
Floydian Posted December 10, 2008 Posted December 10, 2008 Re: PHP string on string I might be helpful to know what that's called... Quote
parelem Posted December 10, 2008 Posted December 10, 2008 Re: PHP string on string basic concatenation, nothing really special there... Quote
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.