jacen6678
08-06-2003, 01:20 AM
I am using the following:
a.include--------
<?php
$BASE_HREF="http://www.yahoo.com";
?>
b.include-------
<?php
echo $BASE_HREF;
?>
webpage.php----
<html...
<?php
include('a.include');
echo $BASE_HREF //echo returns http://www.yahoo.com
include('b.include'); //returns nothing
?>
</html>
What can I do to make the vars in a.include available in b.include?
a.include--------
<?php
$BASE_HREF="http://www.yahoo.com";
?>
b.include-------
<?php
echo $BASE_HREF;
?>
webpage.php----
<html...
<?php
include('a.include');
echo $BASE_HREF //echo returns http://www.yahoo.com
include('b.include'); //returns nothing
?>
</html>
What can I do to make the vars in a.include available in b.include?