Register|Login

Have a question? Click here to ask the community.

Tutorial 9 – Require

| In: 9. Require | 9,140 views

Video Tutorial


Video Source Code

example.php File

1
 Hello Robert 2

require.php File

1
2
3
4
5
6
<?php
// File Description: PHP Require Command Tutorial
require("example.php"); // this file is required
echo "Hello Robert";   
 
?>

Comment Form

You must be logged in to post a comment.