1. Where in a document can you place sections of PHP code?
2. How can you include a file of PHP instructions into a document?
3. How can you prevent an external PHP file from being included multiple times?
4. How can you ensure that an external PHP file is included (issuing an error if this is not possible)?
5. How can you ensure that a PHP file is included and that it doesn’t get included more than once?
6. How can you create a single-line comment in PHP?
7. How can you create a multiline comment in PHP?
8. What must you place after each PHP instruction to indicate it is complete?
9. Is this line of code legal PHP?
$items = 120; $selection = 7;
10. Will this line of PHP code work?
$items = 120 $selection = 7;
The Answer is on the left of page.
No comments:
Post a Comment