RE: [PHP-DEV] Passing Variables From One PHP page to another

From: Date: Fri, 14 Sep 2001 18:39:10 +0000
Subject: RE: [PHP-DEV] Passing Variables From One PHP page to another
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65950@lists.php.net to get a copy of this message
you need to put another session_start() on page 2 -----Message d'origine----- De : asdf [mailto:asdf@asdf.php.net] Envoyé : Friday, September 14, 2001 2:24 PM À : php-dev@lists.php.net Objet : [PHP-DEV] Passing Variables From One PHP page to another For some reason I cannot pass variables from one PHP page to another. I cannot figure out what I am going wrong. PHP_page1 session_start(); $test="help"; session_register("test"); PHP_page2 echo session_register("test"); When I echo session_register("test"), nothing displays. Why? -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#65950) next »