A few days ago I started to learn PHP, I set up a XAMPP test server and I have a problem... When I try to print PHP text it doesn't show anything, the page is blank... I searched everywhere but I cant find solution for this problem

Here are some samples:
- Code: Select all
<html>
<head>
<title></title>
</head>
<body>
<h1>Test!</h1>
<?php
print("Hi!");
?>
</body>
</html>
This shows only: Test!
Another sample:
- Code: Select all
<?php
print("<h1>Test</h1>");
?>
Result: Test"); ?>
Any help wold be greatly appreciated, BlackSundayHacker.