Right now you will figure out how to print a string of string from variables on the page utilizing print direction?
Source Code with Output to print a message on page
<?php
/*print string*/
print "Welcome world\n";
/*print variable values*/
$text="Sample text";
$lucky_number=100;
print "</br>";
print "Value of text is: ".$text." Famous number is: ".$lucky_number."\n";
?>
Output:
Output
Welcome world
Value of text is: Sample text Famous number is: 100