include file

Mariam's Avatar
Go4Expert Member
Suppose I have include.php file.

Is it possible to include this file to index.php in that way that all variables that has been assigned in index.php , include.php must uderstand.
0
Mariam's Avatar
Go4Expert Member
P.S. I used xmlhttp.open("GET",'include.php',true); to include the file
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Why not directly include('index.php');