Php program to print 2 variables in a single echo
Php program to print 2 variables in a single echo
<?php
$str1="Hello world!";
$str2="What a nice day!";
echo $str1 . " " . $str2;
?>
Output:
Hello world! What a nice day!
Php program to print 2 variables in a single echo
<?php
$str1="Hello world!";
$str2="What a nice day!";
echo $str1 . " " . $str2;
?>
Output:
Hello world! What a nice day!
Comments