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 +)
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:+
is for addition.Input or place the ellipses with your loop condition, += is an add and increment operator.