The PHP files should be saved with a ______ extension for the server to parse them.
- .html
- .js
- .php
- .py
PHP files should be saved with a .php extension. The PHP interpreter processes files with this extension, executing any PHP code contained within and sending the resulting output (usually HTML) to the client's browser. Learn more: https://www.php.net/manual/en/tutorial.firstpage.php
Loading...
Related Quiz
- How many times will the block of code in a PHP do...while loop execute at a minimum?
- In PHP, you can include a file using the include or require statement, which takes the path to the file as the ______.
- You need to compare two variables in your PHP script to check if they are equal. What operator would you use and why?
- It's possible to have an array of arrays in PHP.
- What are the potential issues with using functions in PHP?