![]() |
|
|
+ Search |
![]()
|
Jun 15th, 1999 07:00
Nathan Wallace, Øystein Kristoffer Paulsen
When you include a file, the existing variables still exists. Just set
the variable before you require the file, and it will appear inside the
required file as well.
<?
$variable="test";
include ("other.php3");
// or require ("other.php3");
?>
You can then reference $variable inside other.php3.