you need to put another
session_start() on page 2
-----Message d'origine-----
De : asdf [mailto:[EMAIL PROTECTED]]
Envoyé : Friday, September 14, 2001 2:24 PM
À : [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]