NYCPHP Meetup

NYPHP.org

[nycphp-talk] accessing $_SESSION elements

Aaron Fischer agfische at email.smith.edu
Fri Oct 24 12:34:04 EDT 2003


Thanks, that works!  I swear I tried concatenation.  Urgh.  :-)

-Aaron

On Friday, October 24, 2003, at 12:26 pm, Scott Mattocks wrote:

>
>
> Aaron Fischer wrote:
>
>> $begin=1;
>> if(isset($_SESSION['$begin_fair_name']))
>> {
>>   echo "success";
>> }
>
> Try:
> $begin=1;
>  if(isset($_SESSION[$begin . '_fair_name']))
>  {
>    echo "success";
>  }
>
> Scott Mattocks
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk




More information about the talk mailing list