How do I run a PHP script?

How do I run a PHP script?
Answer
3.0 Run Your First PHP Script
  1. 3.1 Go to XAMPP server directory. I’m using Windows, so my root server directory is “C:xampphtdocs”.
  2. 3.2 Create hello.php. Create a file and name it “hello.php”
  3. 3.3 Code Inside hello. php. …
  4. 3.4 Open New Tab. Run it by opening a new tab in your browser.
  5. 3.5 Load hello.php. …
  6. 3.6 Output.
21 июн. 2013 г.
 

Tìm kiếm

Back
Top