PHP Code to print text using the print command

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

	/*print string*/
	print "Welcome world\n";
	/*print variable values*/
	$text="Sample text";
	print "</br>";
	print "Value of text is: ".$text." Famous number is: ".$lucky_number."\n";



Welcome world
Value of text is: Sample text Famous number is: 100 

Leave a Comment

error: Alert: Content is protected!!