So I am very new to this all but I want to learn. I have downloaded MAMP for windows, and ran it. It greenlights mysql and apache. I thought at this point I would have able to open .php files locally and get a desired display but instead it still shows up as hard code. Am I skipping steps?
You have to put your php project's folder or simple php files inside
C:\mamp\htdocs\your_project_folder
or single file program
C:\mamp\htdocs\simple_program.php
and start the Apache Server using MAMP Control Panel
In Browser visit:
For Full Project
localhost/your_project_folder/index[.php, .html]
or for simple single file php programs located at htdocs\your_program.php
localhost/your_program.php
You can put PHP or HTML files inside htdocs
folder ans then you can access them by localhost.