The include() function takes all the text in a specified file and copies it into file that used the include function
Syntax
include "function name";
Example
vars.php
Syntax
include "function name";
Example
vars.php
<?php $color='red'; $fruit='apple'; echo $fruit."color is".$color" ?> |
0 comments:
Post a Comment