Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

I don't really understand PHP

I’m really new to PHP so I was searching for answers to my question, but none of the source codes worked for me, however they seem right and they are approved codes.
I finally got to the point to build my program again from the absolute basics, but instead answers I got just more questions.
My PHP code is here: <?php echo "<p>WTF</p>"; ?>

And the result: image of the page

Please someone help me, I think I’m running insane…

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Open your terminal in the folder where your php file is located.
Write

php -S localhost:8000

and open http://localhost:8000 in your webbrowser.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading