I want to do like this:
$string = "";
$string += "lol"; //maybe =+ > tried but both not working
But it isn't working, anyone suggestions? Google isn't making my life easy (cant search characters like = or +)
In PHP, string concatenation is done with the .
operator:
$string .= 'lol';
+
is for addition.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With