Course 1: How to win friends & develop in PHP
Adding a very Simple Layout
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

Suppose your index.php file creates a variable and includes a header.php file:

<!-- index.php -->
<?php
    $secretWord = 'engage';

    require 'header.php';
?>

Inside of header.php, what would happen if you tried to access this $secretWord variable?

<!-- header.php -->
<header>
    <?php echo $secretWord; ?>
</header>
Skip challenges and

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.