is this syntax correct?
| From: | Jacky | Date: | Mon, 02 Apr 2001 20:30:17 +0000 |
| Subject: | is this syntax correct? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46576@lists.php.net to get a copy of this message | ||
Hi all
is this syntax correct to work on session in php4?
<?php
global $test;
$test = "foo";
session_register("$test");
?>
but nest page when I call variable $test to echo it, nothing come up? what did I do wrong?
Jack
jacky@activelifestyle.com
"There is nothing more rewarding than reaching the goal you set for yourself"