Loading…

How to include a file code in different files in PHP?

For including a file into another PHP file we can use various function like include(), include_once(), require(), require_once().

Example

                                        

<?php require('footer.php') ?>

Suggest An Answer

No suggestions avaliable!

Latest post from PHP interview questions

Ask Question