Answers for "include() php"

PHP
8

include php

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

include and require in php

// Include a file, if it can't be found: continue.
<?php
include 'mainfile.php';
?>
  
// Alternatively: Require a file to be imported or quit if it can't be found
<?php
 require 'requiredfile.php';
?>
Posted by: Guest on April-25-2020
3

require in php

// Require a file to be imported or quit if it can't be found
<?php
 require 'requiredfile.php';
?>
Posted by: Guest on April-25-2020
1

how to use include in php

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

Browse Popular Code Answers by Language