welcome to tutorialfamily

php echo

Php tutorial – php echo is use for display output.

php echo pass multiple string with use of comma.

php print is also use for display output.

php print does not pass multiple string.


php tutorial – echo

php echo is use for display output. php echo pass multiple string with use of comma. Echo doesn’t return any value. Echo is faster then print

php tutorial – print

php print is use for display output. php print does not pass multiple string. Print does return 1 value. Print is lower than echo


echo



<!DOCTYPE html>
<html>
<head>
	<title>echo example</title>
</head>
<body>
	<?php
           echo "tutorialfamily is big online tutorial website";
           echo ("tutorialfamily is big online tutorial website");
        ?>	
</body>
</html>

print



<!DOCTYPE html>
<html>
<head>
	<title>print example</title>
</head>
<body>
	<?php
           print "tutorialfamily is big online tutorial website";
           print ("tutorialfamily is big online tutorial website");
        ?>	
</body>
</html>

output

Our Content