- process of joining two strings together.
String - Sequence of characters.
Concatenate - to link together, unite in a series of chain.
In PHP, the concatenation operator is ('.').
note: There is a space at the end of each string before the close quotation mark ( "Thanks space" ). I did this so that the output is not "ThanksForVisiting".
*The print command prints the strings or the value of the variables to the screen. You can also use echo.
Output in my browser:
Learning PHP - Variables
No comments:
Post a Comment