Re: Store array as Session Variable

From: Date: Mon, 28 Jul 2003 20:14:43 +0000
Subject: Re: Store array as Session Variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157235@lists.php.net to get a copy of this message
> I am able to see the contents of the $company_name array. The next > part involves storing this as a session variable. > > I am trying to link this page to another search page using the <a > href=\"full-profile.php?name=".$row['company']. > "\">--Link--</a> If you're passing the company name in the URL, why are you adding the entire array to the session? You can just use $_GET['name'] to get the name of the "company" that was clicked on... ---John Holmes...

« previous php.general (#157235) next »