Re: [PHP-WIN] passing variable in include
Just do this: $sign = $data; >new.php > >include('xmlparse.php') > >$sign = "$data"; > >echo "$sign"; > >But my echo "$sign"; is NOT printing anything.. Whats wrong here?? > >TIA, >sands > _ Chat with friends online, try MSN Mess
[PHP-WIN] passing variable in include
hi all, I have a variable in a file called xmlparse.php called $data. $data stores in it an output returned by another php script.. I need to pass this variable $data now into yet another php file say new.php .. xmlparse.php $data = "blah blah"; -