PHP outputs HTML
- When a Web server gets a URL with a
.phpextension, it sends the file to the PHP interpreter.
- You embed PHP code in HTML pages.
- Most PHP code outputs HTML, which then gets sent to the browser for rendering.
.php extension, it sends the file to the PHP interpreter.