Re[2]: [PHP] Display Records (brief summary and full details)

From: Date: Sat, 26 Jul 2003 02:01:49 +0000
Subject: Re[2]: [PHP] Display Records (brief summary and full details)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156977@lists.php.net to get a copy of this message
Hi, Saturday, July 26, 2003, 7:28:16 AM, you wrote: PSG> Thanks Tom, PSG> I appreciate your help ! however I have a 2 quick questions... PSG> 1.) should we not save the names of the companies as $companies[$row] PSG> = $row['company']; PSG> 2.) the approach of accessing the variable as $details = PSG> $_SESSION['link']['$_GET['name']] is not PSG> working , when I try to echo the $details is get something else. PSG> I am not sure how we use the PSG> $_SESSION[ ] [ ] with 2 variables as shown. PSG> any help will be appreciated. PSG> regards PSG> --Pushpinder No that won't work What we are trying to achieve is array['companyname'] = row[] send the code you have so far and i'll have a look. After the loop use echo '<pre>'; print_r($companies); echo '</pre>'; That will show the array structure you have created. Do the same for $_SESSION on the next page and it will all become clear :) -- regards, Tom

« previous php.general (#156977) next »