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

What is computer ?

Flowchart Symbols & examples

Write a PHP program to check student grades based on marks