Answers for "include a file in php"

PHP
8

include php

<?php
	include 'archive.php';
?>
Posted by: Guest on February-22-2021
9

php include

<body>
<?php 
    define('ROOT_PATH', dirname(__DIR__).'/');
    include ROOT_PATH.'header.php';
    include ROOT_PATH.'main.php';
    include ROOT_PATH.'footer.php';
?>
</body>
Posted by: Guest on September-05-2021
1

how to use include in php

<?php
     include 'config.php';
?>
Posted by: Guest on June-04-2021

Browse Popular Code Answers by Language