printing to the browser is accomplished using the print functions:
print();
For example: print.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>print.php</title>
</head>
<body>
<?php
print("I am so happy to be a horned toad!");
print("<br><br>");
print("My favorite quote is 'In the end there can be only one.'");
print("<br><br>");
echo "printing is easy with \"PHP Hypertext Prepocessor\".";
?>
</body>
</html>