<html> <body>  <?php $txt1 = "test" $txt2 = "test" $x = num; $y = num;  print "<h2>" . $txt1 . "</h2>" print "test " . $txt2 . "<br>" print $x + $y; ?>  </body> </html>   

Read more of this post