RE: [PHP] Cannot pass values from one page to another
| From: | Jay Blanchard | Date: | Tue, 26 Aug 2003 11:53:26 +0000 |
| Subject: | RE: [PHP] Cannot pass values from one page to another | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-160747@lists.php.net to get a copy of this message | ||
[snip]
I got this value in next page(main.php)
But from there I am not able to pass it to next page
I used
session_register('uid');
in main.php
but in next page $uid is returning null
[/snip]
First, look at the manual for sessions. You have posted many questions
where the manual would have provided you a solution.
Are you placing session_start() at the top of each page where you expect
session variables to be available? You should be...
Have a pleasant day.