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! 

Comments

Popular posts from this blog

Flowchart Symbols & examples

What is computer ?