Use include to include "vars.php" in a page


SUBMITTED BY: henry1874w

DATE: June 17, 2017, 1:36 p.m.

FORMAT: Text only

SIZE: 150 Bytes

HITS: 232

  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. <h1>Welcome to my home page!</h1>
  5. <?php include 'vars.php';
  6. echo "I have a $color $car.";
  7. ?>
  8. </body>
  9. </html>

comments powered by Disqus