Skip to content

How to make a print text in PHP?

<html>
<body>

<?php
$txt1 = "test";
$txt2 = "test";
$x = num;
$y = num;

print "<h2>" . $txt1 . "</h2>";
print "test " . $txt2 . "<br>";
print $x + $y;
?>

</body>
</html>

 
See also  Java code snippet - android How to get current activity?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.