Hi all,
I have installed WAMP on my Win7 machine, started the services and the icon is green in the task bar. I cannot get PHP to do anything however, even display phpinfo();
I am accessing it through the browser (localhost:81/support/index.php)
Following the phpinfo(); on the WAMP page DOES work for some reason...
When I view the source code in Chrome I get hyphens in the php code oddly enough even though I did not put them there. (<!--?php
phpinfo();
?-->
Here is my code:
<?php
phpinfo();
?>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div id="mainbody">
<h2> Can you see me? </h2>
<?php
echo 'hello';
?>
</div>
</body>
</html>
Any help on this I would be greatly appreciative! Been looking at this problem for hours...