Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/31/2022 in all areas

  1. It sounds like you are trying to access your scripts from different levels of your website hierarchy. For example, you want to access the nav.php script from your main root folder, as well as for the pages under the "models" and "john" folders. Is that correct? If that's the case, I would modify those include statements so that they are root relative. <?php include "{$_SERVER['DOCUMENT_ROOT']}/include/nav.php" ?>
    1 point
  2. You can use include function "<?php include 'header.php'; ?>" to achieve the same.
    1 point
  3. Trying to read through your horrible English I would be hesitant to even try to explain any other language to you. Sorry, but if you think your paragraph makes sense you will have nothing but trouble in your programming career. Good luck.
    0 points
This leaderboard is set to New York/GMT-04:00
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.