Hello I'm new in Mac and PHP.
I download MAMP server and Atom editor. I write some code in Atom editor and save as hello.php but when i tried to open page, it could open atom editor page.
here is my code. What should i do?
<html>
<head>
<title> PHP Hello </title>
</head>
<body>
<center>
<b>
<h1>
<?php
print "Hello World";
?>
</h1>
</b>
</center>
</body>
</html>
localhost/hello.phpin the address bar/Applications/MAMP/htdocs/project/hello.phpthen open browser and enter url localhost/project/hello.php