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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to