Re: Don't mean to be repetitive - Session Variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I apologize, fixed this problem a short while ago.  I
need to move the post statement a page ahead.  Now all
is working fine. 

Thank you ,
Stuart
--- dpgirago@xxxxxxxxxxxxxx wrote:

> Have you assigned the values in the
> $_SESSION['l_industry'] array to those 
> specific local variables, $l_industry['0'],
> $l_industry['1']... ?
> 
> dave
> 
> 
> 
> 
> 
> 
> 
> 
> Stuart Felenstein <stuart4m@xxxxxxxxx>
> 
> 10/11/2004 10:20 AM
> 
> 
> 
>  
> 
> To:
> php-db@xxxxxxxxxxxxx
> cc:
> 
> 
> 
> 
> 
> Subject:
> Re:  Don't mean to be repetitive - Session
> Variables
> 
> 
> 
> I may have spoken too soon.  Having one minor
> problem
> with getting an array (from a multiple select) to
> print out.  Anyone see anything wrong here :
> 
> Here is registering session array:
> 
> if ( empty( $_SESSION['l_industry'] ) ) {
> $_SESSION['l_industry']=array();
> }
> 
> if ( is_array( $_REQUEST['LurkerIndustry'] ) ) {
> $_SESSION['l_industry'] = array_unique(
> array_merge( $_SESSION['l_industry'],
>  $_REQUEST['LurkerIndustry'] )
> );
> }
> Here is my call: 
> 
> echo $l_industry['0']."<br />"; 
> echo $l_industry['1']."<br />"; 
> echo $l_industry['2']."<br />"; 
> echo $l_industry['3']."<br />"; 
> echo $l_industry['4']."<br />"; 
> echo $l_industry['5']."<br />"; 
> 
> 
> Thank you,
> Stuart
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> 

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux