17.5. Chapter 17 Questions Question 17-1. Why not use <? and ?> to start and end your PHP code blocks? Question 17-2. What's the difference between using // comments and /* */ comments? Question 17-3. What's the advantage of using the include_once() and require_once() directives instead of include() and require()? Question 17-4. What's wrong with this code? <? if ($_GET[user_id] == 'Admin') echo ('Welcome to the control panel.'); else echo ('Welcome.'); ?> See the Appendix for the answers to these questions. |