I had looked at some different topics, but I am overwhelmed with them and I cannot understand a lot of what posters are asking. This is the first day I have ever typed something in php, so I am new. Here is my problem illustrated with pictures.
Going to http://localhost works.
in htdocs I put a hw.php file with the following code.
Going to http://localhost/hw.php does not work.
What am I dong wrong?