Problem with viewing PHP in Firefox?

  • Thread starter Thread starter Mr Mash
  • Start date Start date
M

Mr Mash

Guest
I have Firefox 3.5b4, and i saved this code as a PHP file (on my PC):

<html>
<head>
<title>PHP Test </title>
</head>
<body>
one
<?php echo "two" ?>
</body>
</html>

When i open the php file in firefox, this is the output:
one

the problem is that 'two' doesn't show up. Why is this and is there a way to fix it?
 
Back
Top