Home > database >  I don't really understand PHP
I don't really understand PHP

Time:04-27

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...

CodePudding user response:

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.

  • Related