Concatenation - combining strings
Topics

Concatenation - combining strings

function php
There's a button below (sneak peek) to peek at the code.

Concatenation is adding a string to a string. You use the full stopp(.):

Php says:
I like sugar
I like sugar
I like sugar
$variable1 $variable2
$variable1sugar
I like sugar
string
string
integer

But why integer? If you don't concatenate but "add" strings by using the "+" sign, they will be treated as if they were numbers (an integer is a data type), essentially containing 0.

As you can see here, you can embed php anywhere in your code.

>> continue
submit to reddit





Sneak peek of the server side code