Concatenation
Concatenation can be done by using "." in PHP
CODE
$var = "ABCD";
echo $var." Here";
?>
OUTPUT
PHP Comments
In PHP, comments can be given by using the following
If you want to give comment to single line, then use //
Eg.
// echo $var;
If you want to comment multiple lines…
Then start with /* and end the comment with */
/*Echo $var;
Echo "God Helps those who help themselves";*/
CODE
$var = "God is a power";
// echo $var;
?>
Leave a comment