passing variable in include

From: Date: Mon, 14 Jan 2002 13:54:29 +0000
Subject: passing variable in include
Groups: php.windows 
Request: Send a blank email to php-windows+get-11419@lists.php.net to get a copy of this message
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"; ---------------------------------------------------------------------------- ---- new.php include('xmlparse.php') $sign = "$data"; echo "$sign"; But my echo "$sign"; is NOT printing anything.. Whats wrong here?? TIA, sands

« previous php.windows (#11419) next »