Re: Display Records (brief summary and full details)
| From: | Curt Zirzow | Date: | Sat, 26 Jul 2003 00:04:59 +0000 |
| Subject: | Re: Display Records (brief summary and full details) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156965@lists.php.net to get a copy of this message | ||
* Thus wrote Pushpinder Singh Garcha (pgarcha@adelphia.net):
> Thanks Tom,
>
> I appreciate your help ! however I have a 2 quick questions...
>
> 1.) should we not save the names of the companies as $companies[$row]
> = w['company'];
I'm not sure in what context or what purpose you wish to do so.
There is, in general, nothing wrong with storing your information
like that.
> 2.) the approach of accessing the variable as $details =
> $_SESSION['link']['$_GET['name']] is not
> working , when I try to echo the $details is get something else.
> I am not sure how we use the
> $_SESSION[ ] [ ] with 2 variables as shown.
>
I assume you mean:
$_SESSION['link'][$_GET['name']];
If you could provide an example on how you set the array that would
be easier to let you know why your output is not comming back
right.
Please Compose a new message and type a subject when starting a new
topic.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."